Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jpuri committed Jun 10, 2024
1 parent ded49be commit 45ada63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ui/pages/confirmations/selectors/preferences.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ describe('pereference selectors', () => {
});

it('returns undefined if useTransactionSimulations is not set', () => {
const result = getUseTransactionSimulations({metamask: {}});
const result = getUseTransactionSimulations({ metamask: {} });
expect(result).toStrictEqual(undefined);
});
});
Expand Down
4 changes: 2 additions & 2 deletions ui/pages/confirmations/selectors/preferences.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
export type RootState = {
metamask: {
useTransactionSimulations?: boolean;
}
}
};
};

export const getUseTransactionSimulations = (state: RootState) =>
state.metamask.useTransactionSimulations;

0 comments on commit 45ada63

Please sign in to comment.