Skip to content

Commit

Permalink
fix react code snippet format
Browse files Browse the repository at this point in the history
  • Loading branch information
larsrickert committed Dec 6, 2024
1 parent 33ce8f9 commit db146c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/addons/docs/src/manager.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ addons.register(ADDON_ID, (api) => {

useChannel({
[SNIPPET_RENDERED]: ({ source, format }) => {
setSourceCode({ source, format: format ?? 'html' });
setSourceCode({ source, format });
},
});

Expand Down

0 comments on commit db146c3

Please sign in to comment.