Skip to content

Commit f381c72

Browse files
committed
fix: code rabbit suggestion
1 parent 479f23f commit f381c72

File tree

1 file changed

+1
-4
lines changed
  • infrastructure/eid-wallet/src/routes/(app)/scan-qr

1 file changed

+1
-4
lines changed

infrastructure/eid-wallet/src/routes/(app)/scan-qr/+page.svelte

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,10 @@ onMount(() => {
8484
return () => {
8585
disposed = true;
8686
cleanup?.();
87+
cancelScan();
8788
};
8889
});
8990
90-
onDestroy(async () => {
91-
await cancelScan();
92-
});
93-
9491
$effect(() => {
9592
console.log(
9693
"🔍 DEBUG: selectedBlindVoteOption changed to:",

0 commit comments

Comments
 (0)