fix: Fix lint errors (#559)
* cleanup: postactions styling * misc: fix first round of errors * pkg: remove vitest * fix: fix lint errors stage 2 * fix: fix lint errors stage 3 * fix: fix lint errors, stage 3 * misc: update eslint rules to warn for writable derived
This commit is contained in:
1 parent
1824245f13
commit
76c581123a
225 files changed
+1553
-2352
No files matched your search
@@ -1,7 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { invalidate, invalidateAll } from '$app/navigation'
|
||||
import { invalidateAll } from '$app/navigation'
|
||||
import { page } from '$app/state'
|
||||
import { fly } from 'svelte/transition'
|
||||
|
||||
interface Props {
|
||||
routes: {
|
||||
@@ -18,7 +17,7 @@
|
||||
let {
|
||||
routes,
|
||||
currentRoute = undefined,
|
||||
buildUrl = (route, href) => href,
|
||||
buildUrl = (_, href) => href,
|
||||
defaultRoute = undefined,
|
||||
class: clazz = '',
|
||||
children,
|
||||
@@ -49,7 +48,7 @@
|
||||
''}
|
||||
"
|
||||
>
|
||||
{#each routes as route}
|
||||
{#each routes as route (route.href)}
|
||||
<a
|
||||
onclick={() => invalidateAll()}
|
||||
href={buildUrl(currentRoute, route.href)}
|
||||
|
||||
Reference in new issue
Block a user