fix: JSX syntax error in UnifiedPromptModal (Issue #28)
Fixed curly brace escaping in JSX string.
Changed from {{'{{'}} to {'{{'}}
This commit is contained in:
1 parent
2f3314cd36
commit
5249cd6939
1 file changed
+1
-1
@@ -390,7 +390,7 @@ export default function UnifiedPromptModal({ prompt, onSave, onClose }) {
|
|||||||
style={{ width: '100%', textAlign: 'left', resize: 'vertical', fontFamily: 'monospace', fontSize: 12 }}
|
style={{ width: '100%', textAlign: 'left', resize: 'vertical', fontFamily: 'monospace', fontSize: 12 }}
|
||||||
/>
|
/>
|
||||||
<div style={{ fontSize: 11, color: 'var(--text3)', marginTop: 4 }}>
|
<div style={{ fontSize: 11, color: 'var(--text3)', marginTop: 4 }}>
|
||||||
Verwende {{'{{'}}platzhalter{{'}}'}} für dynamische Werte (z.B. {{'{{'}}weight_data{{'}}'}}, {{'{{'}}nutrition_data{{'}}'}})
|
Verwende {'{{'}platzhalter{'}}'} für dynamische Werte (z.B. {'{{'}weight_data{'}}', {'{{'}nutrition_data{'}}'})
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in new issue
Block a user