Skip to content

Commit

Permalink
Update docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
junhaoliao authored Sep 12, 2024
1 parent 3b9295e commit f5228ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const MonacoInstance = ({
onMount,
]);

// On `themeName` update, set theme in the editor.
// On `themeName` update, set the theme in the editor.
useEffect(() => {
monaco.editor.setTheme(themeName);
}, [themeName]);
Expand Down

0 comments on commit f5228ae

Please sign in to comment.