Skip to content

Commit

Permalink
Handle svelte errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tfedor committed Dec 11, 2024
1 parent d94fc66 commit a9272e4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
const itadLogo = ExtensionResources.getURL("img/itad.png");
let statusComponent: ITADSyncStatus;
let status: ESyncStatus;
let status: ESyncStatus|undefined = undefined;
</script>


Expand Down
2 changes: 1 addition & 1 deletion src/js/Options/Modules/Options/ITADOptions.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
import type {TSyncEvent} from "@Background/Modules/IsThereAnyDeal/_types";
let settings: Writable<SettingsSchema> = writable(Settings);
let isConnected: boolean;
let isConnected: boolean = false;
let events: TSyncEvent[];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
let promise: Promise<void>;
let statusComponent: ITADSyncStatus;
let status: ESyncStatus;
let status: ESyncStatus|undefined = undefined;
function handleAuthorize(): void {
promise = (async () => {
Expand Down

0 comments on commit a9272e4

Please sign in to comment.