Skip to content

Commit

Permalink
fix(playground): clear should make Reset button disappear
Browse files Browse the repository at this point in the history
  • Loading branch information
caugner committed May 2, 2024
1 parent b1c600b commit 3fd8256
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/src/playground/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ export default function Playground() {
setSearchParams([], { replace: true });
setCodeSrc(undefined);
setEditorContent({ html: HTML_DEFAULT, css: CSS_DEFAULT, js: JS_DEFAULT });
setInitialContent(null);

updateWithEditorContent();
};
Expand Down

0 comments on commit 3fd8256

Please sign in to comment.