Skip to content

Commit

Permalink
Use yaml instead html as the default example language
Browse files Browse the repository at this point in the history
  • Loading branch information
weareoutman committed Jul 28, 2023
1 parent 608e4cd commit 99e1c6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useExampleLanguage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default function useExampleLanguage() {

useEffect(() => {
setLanguage(
localStorage.getItem(STORAGE_KEY_LANGUAGE) === "yaml" ? "yaml" : "html"
localStorage.getItem(STORAGE_KEY_LANGUAGE) === "html" ? "html" : "yaml"
);
}, []);

Expand Down

0 comments on commit 99e1c6c

Please sign in to comment.