Skip to content

Commit

Permalink
Return back handleReset
Browse files Browse the repository at this point in the history
  • Loading branch information
delasy committed Oct 25, 2024
1 parent de99674 commit 3a65020
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions app/playground/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,17 @@ export default function PlaygroundPage() {
}
}

// function handleReset() {
// handleChangeMap([]);
// setSolution(null);
// setReasoning(null);
// setPublishing(false);
// setSimulating(false);
// setUserPlaying(false);
// setUserSolution([]);
// setVisualizingUserSolution(false);
// }

useEffect(() => {
const maybeMap = window.localStorage.getItem(STORAGE_MAP_KEY);
const maybeModel = window.localStorage.getItem(STORAGE_MODEL_KEY);
Expand Down

0 comments on commit 3a65020

Please sign in to comment.