Skip to content

Commit

Permalink
chore: fixes linting
Browse files Browse the repository at this point in the history
  • Loading branch information
arnoldknott committed Jan 15, 2024
1 parent f79f2a2 commit 2f30671
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion frontend_svelte/src/components/Guard.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import { goto } from '$app/navigation';
import { user_store } from '$lib/stores.js';
import { onMount } from 'svelte';
import type { PageData } from './$types';
export let redirect = '/login';
Expand Down
1 change: 0 additions & 1 deletion frontend_svelte/src/lib/stores.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { writable } from 'svelte/store';
import type { Session } from '$lib/types.d.ts';
// import type { PublicClientApplication } from '@azure/msal-browser';
import type { AccountInfo } from '@azure/msal-browser';

// TBD. consider moving app configuration here:
// export const configuration = writable<Configuration | undefined>();
Expand Down
2 changes: 1 addition & 1 deletion frontend_svelte/src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import NavButton from '$components/NavButton.svelte';
import UserButton from '$components/UserButton.svelte';
import type { LayoutData } from './$types';
import JsonData from '$components/JsonData.svelte';
// import JsonData from '$components/JsonData.svelte';
// import Guard from '$components/Guard.svelte';
// import type { User } from 'src/types.d.ts';
Expand Down
2 changes: 1 addition & 1 deletion frontend_svelte/src/routes/dashboard/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script lang="ts">
import Guard from '$components/Guard.svelte';
import { user_store } from '$lib/stores.js';
import NavButton from '$components/NavButton.svelte';
// import NavButton from '$components/NavButton.svelte';
</script>

<Guard>
Expand Down

0 comments on commit 2f30671

Please sign in to comment.