[F] Fix type check

This commit is contained in:
2024-12-19 14:55:10 -05:00
parent 1480c14743
commit 3618d09fe6
+2 -2
View File
@@ -1,12 +1,12 @@
<script lang="ts">
import App from "./App.svelte";
import { Backend, type Checkpoint } from "./utils";
import { Backend, type MetaCheckpoint } from "./utils";
// Get puzzle id from params
const urlParams = new URLSearchParams(window.location.search);
const puzzleId = urlParams.get("puzzle");
const edit = urlParams.get("edit");
let puzzleData: Checkpoint | null = null;
let puzzleData: MetaCheckpoint | null = null;
let error: string | null = null;
if (!edit) {