Skip to content

Commit

Permalink
fix migration using unSub before initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
Robonau authored and Robonau committed Aug 27, 2024
1 parent 113467f commit 490cc40
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/routes/(app)/browse/migrate/manga/[MangaID]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
function onSub(mangaNow: typeof $manga) {
if (mangaNow?.data?.manga?.title) {
$query = mangaNow?.data?.manga?.title;
unSub();
setTimeout(() => {
unSub();
}, 1);
}
}
Expand Down

0 comments on commit 490cc40

Please sign in to comment.