mirror of
https://github.com/exogen/t2-mapper.git
synced 2026-07-15 00:14:50 +00:00
deploy
This commit is contained in:
parent
5830f97aa6
commit
9e2724799c
20 changed files with 1188 additions and 209 deletions
12
app/page.tsx
12
app/page.tsx
|
|
@ -1,5 +1,5 @@
|
|||
"use client";
|
||||
import { useState, useEffect } from "react";
|
||||
import { useState, useEffect, Suspense } from "react";
|
||||
import { useSearchParams, useRouter } from "next/navigation";
|
||||
import { Canvas } from "@react-three/fiber";
|
||||
import { EffectComposer, N8AO } from "@react-three/postprocessing";
|
||||
|
|
@ -14,7 +14,7 @@ import { ObserverCamera } from "@/src/components/ObserverCamera";
|
|||
// stuff too, e.g. missions, terrains, and more. This client is used for those.
|
||||
const queryClient = new QueryClient();
|
||||
|
||||
export default function HomePage() {
|
||||
function MapInspector() {
|
||||
const searchParams = useSearchParams();
|
||||
const router = useRouter();
|
||||
|
||||
|
|
@ -51,3 +51,11 @@ export default function HomePage() {
|
|||
</QueryClientProvider>
|
||||
);
|
||||
}
|
||||
|
||||
export default function HomePage() {
|
||||
return (
|
||||
<Suspense>
|
||||
<MapInspector />
|
||||
</Suspense>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue