Add collection var to CodeEditor props (#2501)

Co-authored-by: jean_lethiec <Jean_LETHIEC@connect-tech.sncf>
This commit is contained in:
Jean Lethiec 2024-06-28 16:40:14 +02:00 committed by GitHub
parent fc626041e2
commit fd57b2ce94
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -50,6 +50,7 @@ const CodeView = ({ language, item }) => {
</CopyToClipboard>
<CodeEditor
readOnly
collection={collection}
value={snippet}
font={get(preferences, 'font.codeFont', 'default')}
theme={displayedTheme}