Skip to content

Commit 29b395d

Browse files
committed
fix: lint
1 parent 9ccc9c3 commit 29b395d

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

src/hooks.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const handle: Handle = async ({ event, resolve }) => {
2424
// send back the default 'pb_auth' cookie to the client with the latest store state
2525
response.headers.set(
2626
'set-cookie',
27-
pb.authStore.exportToCookie({ httpOnly: false })
27+
pb.authStore.exportToCookie({ httpOnly: false }),
2828
)
2929

3030
return response
File renamed without changes.

src/routes/+layout.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ export const load: LayoutServerLoad = async ({ locals }) => {
44
return {
55
user: locals.user,
66
}
7-
}
7+
}

src/routes/+layout.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<script lang="ts">
22
import '../app.postcss'
33
4-
import type { Snippet } from 'svelte'
5-
import { writable } from 'svelte/store'
64
import { applyAction, enhance } from '$app/forms'
75
import { setUserContext } from '$lib/contexts/user'
86
import { pb } from '$lib/pocketbase'
7+
import type { Snippet } from 'svelte'
8+
import { writable } from 'svelte/store'
99
import type { PageData } from './$types'
1010
1111
interface Props {

src/routes/login/+page.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ export const actions: Actions = {
1717
throw e
1818
}
1919

20-
redirect(303, '/');
20+
redirect(303, '/')
2121
},
2222
}

src/routes/logout/+page.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ export const actions: Actions = {
55
default: async ({ locals }) => {
66
locals.pb.authStore.clear()
77
locals.user = null
8-
redirect(303, '/');
8+
redirect(303, '/')
99
},
1010
}

src/routes/register/+page.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ export const actions: Actions = {
1919
throw e
2020
}
2121

22-
redirect(303, '/');
22+
redirect(303, '/')
2323
},
2424
}

0 commit comments

Comments
 (0)