diff options
| author | Fuwn <[email protected]> | 2026-01-23 02:20:50 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-01-23 02:20:50 -0800 |
| commit | 69753f974994b49b2df059f9b5b401d14db4a8fa (patch) | |
| tree | 810f5b23d3f2f97c61fdfcdf6a581d2d7d106b32 /src/routes/+layout.svelte | |
| parent | chore(prettier): Remove deprecated pluginSearchDirs option (diff) | |
| download | due.moe-69753f974994b49b2df059f9b5b401d14db4a8fa.tar.xz due.moe-69753f974994b49b2df059f9b5b401d14db4a8fa.zip | |
refactor: Migrate event handlers to new Svelte 5 syntax
Diffstat (limited to 'src/routes/+layout.svelte')
| -rw-r--r-- | src/routes/+layout.svelte | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 5ba94ec7..2ca78271 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -235,7 +235,7 @@ <a class="header-item" href={`https://anilist.co/api/v2/oauth/authorize?client_id=${env.PUBLIC_ANILIST_CLIENT_ID}&redirect_uri=${env.PUBLIC_ANILIST_REDIRECT_URI}&response_type=code`} - on:click={async () => { + onclick={async () => { await localforage.setItem( 'redirect', window.location.origin + window.location.pathname + window.location.search |