diff --git a/src/components/App.tsx b/src/components/App.tsx index 4cb6008..7afd553 100644 --- a/src/components/App.tsx +++ b/src/components/App.tsx @@ -3,7 +3,6 @@ import { BrowserRouter, Route, Switch } from 'react-router-dom'; import GroupsProvider from '../state/GroupsProvider'; import NotificationsProvider from '../state/Notifications/NotificationsProvider'; import { useMe } from './hooks'; -import useImmutable from './useImmutable'; import WheelShare from './WheelShare'; import WheelShareLoggedOut from './WheelShareLoggedOut'; @@ -24,20 +23,12 @@ const style: CSSProperties = { export default function App() { const user = useMe(); - const [imm] = useImmutable({ - x: 0, - y: 0, - z: { a: 1, b: 2, c: [0, 1, 2] }, - }); + return (
- {JSON.stringify(imm)} - {/* Reset button */} - - + {JSON.stringify(imm)} + Reset button + + +
+ ); +}