fix(client): use boolean Monaco hover option

This commit is contained in:
Marco Beretta 2026-07-25 13:51:12 +02:00
parent f1b287fdb9
commit f3fac6f0dc
No known key found for this signature in database
GPG key ID: D918033D8E74CC11

View file

@ -422,7 +422,7 @@ export const ArtifactCodeEditor = function ArtifactCodeEditor({
quickSuggestions: !readOnly,
suggestOnTriggerCharacters: !readOnly,
parameterHints: { enabled: !readOnly },
hover: { enabled: readOnly ? 'off' : 'on' },
hover: { enabled: !readOnly },
matchBrackets: readOnly ? 'never' : 'always',
}),
[readOnly],