aotds-docks/src/routes/(editor)/export/print/+page.svelte

13 lines
264 B
Svelte

<PrintShip {...$ship} />
<script>
import { getContext } from "svelte";
import { readable } from "svelte/store";
import PrintShip from "./PrintShip/index.svelte";
const api = getContext("api");
const ship = api?.svelteStore ?? readable({});
</script>