fix: JSX syntax error in UnifiedPromptModal (Issue #28)
Some checks failed
Deploy Development / deploy (push) Failing after 32s
Build Test / lint-backend (push) Successful in 1s
Build Test / build-frontend (push) Successful in 14s

Fixed curly brace escaping in JSX string.
Changed from {{'{{'}} to {'{{'}}
This commit is contained in:
Lars 2026-03-25 21:40:22 +01:00
parent 2f3314cd36
commit 5249cd6939

View File

@ -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>
)} )}