- Scope @typescript-eslint/no-explicit-any off for *.spec.ts test doubles - Type enhance() submit callbacks with SubmitFunction in api-keys page - Drop as-any casts in proclamations upsert by using typed form data - Fix useless regex escapes in profiles phone validation - Remove unused locals param from api-keys load - Use resolve() for admin nav/error links; store literal hrefs in adminModels - Update README admin section and ADMIN_OVERHAUL lint caveat
15 lines
347 B
Svelte
15 lines
347 B
Svelte
<script lang="ts">
|
|
import { page } from '$app/stores';
|
|
import { resolve } from '$app/paths';
|
|
import Window from '$lib/components/containers/Window.svelte';
|
|
</script>
|
|
|
|
<Window>
|
|
{#if $page.status === 403}
|
|
<h1>Not Authorized</h1>
|
|
<p>
|
|
You don't have permission to view this page. <a href={resolve('/')}>Go home</a>.
|
|
</p>
|
|
{/if}
|
|
</Window>
|