maybe fix build errors (again) #68

Merged
Quaternions merged 5 commits from mapspage-dev into staging 2025-04-03 08:01:00 +00:00
Showing only changes of commit 2837743f0a - Show all commits

@ -1,17 +1,12 @@
import Webpage from "@/app/_components/webpage";
import { useParams } from "next/navigation";
interface MapParams {
params: {
mapId: string;
};
}
export default function Map({ params }: MapParams) {
const { mapId } = params;
export default function Map() {
const { mapId } = useParams<{mapId: string}>()
return (
<Webpage>
<p>map { mapId }</p>
</Webpage>
);
}
}