Skip to content

Commit

Permalink
types
Browse files Browse the repository at this point in the history
  • Loading branch information
hardyjosh committed Feb 15, 2025
1 parent c7d66e9 commit 8144a1b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/ui-components/src/lib/stores/transactionStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export type DeploymentTransactionArgs = {
orderbookAddress: Hex;
chainId: number;
subgraphUrl: string;
network: string;
network?: string;
};

export type DepositOrWithdrawTransactionArgs = {
Expand Down Expand Up @@ -141,7 +141,7 @@ const transactionStore = () => {
}, 1000);
};

const awaitNewOrderIndexing = async (subgraphUrl: string, txHash: string, network: string) => {
const awaitNewOrderIndexing = async (subgraphUrl: string, txHash: string, network?: string) => {
update((state) => ({
...state,
status: TransactionStatus.PENDING_SUBGRAPH,
Expand Down
2 changes: 1 addition & 1 deletion packages/webapp/src/lib/components/DeployModal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
export let orderbookAddress: Hex;
export let chainId: number;
export let subgraphUrl: string;
export let network: string;
export let network: string | undefined = undefined;
const messages = {
success: 'Your strategy was successfully deployed.',
Expand Down

0 comments on commit 8144a1b

Please sign in to comment.