Created
August 18, 2020 18:39
-
-
Save skflowne/ec00f47ec07dd8b7c839f65985958ba2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Suspense } from "react" | |
import { RecoilRoot } from "recoil" | |
import TimelineMap from "./components/map/TimelineMap" | |
import TimeTravelButtons from "./components/time/TimeTravelButtons" | |
import TimeTravelSlider from "./components/time/TimeTravelSlider" | |
import CurrentStatSelect from "./components/stats/CurrentStatSelect" | |
const App = () => { | |
return ( | |
<RecoilRoot> | |
<Suspense fallback="Loading..."> | |
<TimeTravelButtons /> | |
<CurrentStatSelect /> | |
<TimelineMap /> | |
<TimeTravelSlider /> | |
</Suspense> | |
</RecoilRoot> | |
) | |
} | |
export default App |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment