about summary refs log tree commit diff
path: root/assets/src/entries/share.ts
blob: f7890b021568f4e28ebd8fbfd16739c722c97d21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import SharePage from "../components/SharePage.svelte";
import { RookType } from "../models/rook_type";
import { setClientType } from "../state/constant_state";
import { initializeShare } from "../state/share";

setClientType(RookType.SHARE);
initializeShare();

const app = new SharePage({
    target: document.getElementById("app"),
    props: {},
});

export default app;