Restructure
This commit is contained in:
1 parent
3c052a8b43
commit
85d0d0be57
7 files changed
+22
-2
No files matched your search
+3
-1
@@ -5,8 +5,9 @@ import Image from "next/image";
|
||||
import styles from "./page.module.css";
|
||||
import ChargedButton from "@/components/ChargedButton";
|
||||
import MapView from "@/components/MapView";
|
||||
import WelcomeScreen from "@/components/screens/WelcomeScreen";
|
||||
|
||||
export default function Home() {
|
||||
export default function Main() {
|
||||
const [doTest, setDoTest] = useState(false);
|
||||
|
||||
return (
|
||||
@@ -22,6 +23,7 @@ export default function Home() {
|
||||
setDoTest(true);
|
||||
}}>test</button>
|
||||
{doTest && <MapView></MapView>}
|
||||
<WelcomeScreen />
|
||||
</main>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user