diff --git a/code/addons/docs/src/manager.tsx b/code/addons/docs/src/manager.tsx index fdbe0375d369..a02fe22f0764 100644 --- a/code/addons/docs/src/manager.tsx +++ b/code/addons/docs/src/manager.tsx @@ -24,7 +24,7 @@ addons.register(ADDON_ID, (api) => { useChannel({ [SNIPPET_RENDERED]: ({ source, format }) => { - setSourceCode({ source, format: format ?? 'html' }); + setSourceCode({ source, format }); }, });