From 638cf8104c55e1d85a2003f5180a7d68422f07c4 Mon Sep 17 00:00:00 2001 From: Max Strasinsky Date: Fri, 30 Aug 2024 11:19:22 +0200 Subject: [PATCH] Make indexCanisterId optional in IcrcCanistersStore --- frontend/src/lib/stores/icrc-canisters.store.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/lib/stores/icrc-canisters.store.ts b/frontend/src/lib/stores/icrc-canisters.store.ts index fd71ca0ff31..85201addc8c 100644 --- a/frontend/src/lib/stores/icrc-canisters.store.ts +++ b/frontend/src/lib/stores/icrc-canisters.store.ts @@ -7,7 +7,7 @@ import { writable } from "svelte/store"; export interface IcrcCanisters { ledgerCanisterId: Principal; - indexCanisterId: Principal; + indexCanisterId: Principal | undefined; } export type IcrcCanistersStoreData = Record<