diff --git a/src/pages/dev/paleo/state.ts b/src/pages/dev/paleo/state.ts index 8cf79c69..37957d6a 100644 --- a/src/pages/dev/paleo/state.ts +++ b/src/pages/dev/paleo/state.ts @@ -64,7 +64,7 @@ async function transformAction( case "initialize": const hashData = getHashString(window.location.hash); - const { model, age, ...rest } = hashData; + const { model, age, ...rest } = hashData ?? {}; const mapPosition = getMapPositionForHash( rest, defaultState.mapPosition.camera