Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
findolor committed Feb 21, 2025
1 parent f1b3e0a commit 553f601
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions packages/orderbook/test/js_api/order.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const order1: SgOrder = {
id: '0x0000000000000000000000000000000000000000'
},
trades: [],
removeEvents: []
removeEvents: []
} as unknown as SgOrder;

const order2 = {
Expand Down Expand Up @@ -150,7 +150,7 @@ const order2 = {
id: '0x0000000000000000000000000000000000000000'
},
trades: [],
removeEvents: []
removeEvents: []
} as unknown as SgOrder;

export const order3 = {
Expand Down Expand Up @@ -218,7 +218,7 @@ export const order3 = {
id: '0x0000000000000000000000000000000000000000'
},
trades: [],
removeEvents: []
removeEvents: []
} as unknown as SgOrder;

const mockOrderTradesList: SgTrade[] = [
Expand Down
4 changes: 2 additions & 2 deletions packages/webapp/src/lib/services/handleGuiInitialization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export async function handleGuiInitialization(
stateFromUrl,
pushGuiStateToUrlHistory
);
} catch (deserializeErr) {
} catch {
gui = await DotrainOrderGui.chooseDeployment(
dotrain,
deploymentKey,
Expand All @@ -31,7 +31,7 @@ export async function handleGuiInitialization(
);
}
return { gui, error: null };
} catch (err) {
} catch {
return { gui: null, error: 'Could not get deployment form.' };
}
}

0 comments on commit 553f601

Please sign in to comment.