<script lang="ts">
    import {locals} from "../../ts/stores.js";
    import Field from "./Field.svelte";
    const token = $locals.getCsrfToken ? $locals.getCsrfToken() : undefined;
</script>

<Field type="hidden" name="csrf" value={token}/>
