{{ define "page" }}
<div style="margin: 32px">
	<h1>Sync</h1>

	<script type="module">
		import { NodeStore } from 'node_store'
		import { Sync } from 'sync'
		window.Sync = Sync
		window.nodeStore = new NodeStore()
		window.nodeStore.initializeDB().then(()=>{
			Sync.tree()
		})
	</script>
</div>
{{ end }}
