Skip to content

Commit

Permalink
bind open state
Browse files Browse the repository at this point in the history
  • Loading branch information
hardingjam committed Feb 4, 2025
1 parent 9e0a7fe commit 5687968
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
export let open = true;
</script>

<AccordionItem {open}>
<AccordionItem bind:open>
<span slot="header" class="w-full">
<DeploymentSectionHeader
title={tokenInfo?.symbol ? `Deposit amount (${tokenInfo?.symbol})` : 'Deposit amount'}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
const handleGetTokenInfo = async () => {
if (!vault.token?.key) return;
try {
tokenInfo = await gui.getTokenInfo(vault.token?.key);
tokenInfo = await gui?.getTokenInfo(vault.token?.key);
} catch (e) {
const errorMessage = (e as Error).message
? (e as Error).message
Expand Down

0 comments on commit 5687968

Please sign in to comment.