Skip to content

Commit

Permalink
check if tokens are selected on mount
Browse files Browse the repository at this point in the history
  • Loading branch information
findolor committed Feb 24, 2025
1 parent d374861 commit 81d21d3
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import { getDeploymentTransactionArgs } from './getDeploymentTransactionArgs';
import type { HandleAddOrderResult } from './getDeploymentTransactionArgs';
import { DeploymentStepsError, DeploymentStepsErrorCode } from '$lib/errors';
import { onMount } from 'svelte';
interface Deployment {
key: string;
Expand Down Expand Up @@ -60,6 +61,10 @@
export let wagmiConnected: Writable<boolean>;
export let appKitModal: Writable<AppKit>;
onMount(async () => {
await areAllTokensSelected();
});
function getAllFieldDefinitions() {
try {
allFieldDefinitions = gui.getAllFieldDefinitions();
Expand Down

0 comments on commit 81d21d3

Please sign in to comment.