<script setup lang="ts">
// A puzzle link: /puzzle/<id> adds that puzzle to the open project and opens it.
const route = useRoute()
const ed = useEditor()
onMounted(() => ed.openPuzzle(String(route.params.id)))
</script>
<template>
<EditorApp />
</template>