Skip to content

Commit

Permalink
Remove remaining gasIsLoading, former property of appState
Browse files Browse the repository at this point in the history
  • Loading branch information
MajorLift committed Dec 5, 2024
1 parent 12fb2f3 commit f36a70e
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion .storybook/test-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -1664,7 +1664,6 @@ const state = {
isLoading: false,
warning: null,
buyView: {},
gasIsLoading: false,
defaultHdPaths: {
trezor: "m/44'/60'/0'/0",
ledger: "m/44'/60'/0'/0/0",
Expand Down
1 change: 0 additions & 1 deletion test/data/mock-send-state.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"networkDropdownOpen": false,
"importNftsModal": { "open": false },
"showPermittedNetworkToastOpen": false,
"gasIsLoading": false,
"isLoading": false,
"importTokensModalOpen": false,
"modal": {
Expand Down
1 change: 0 additions & 1 deletion test/data/mock-state.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"open": false
},
"showPermittedNetworkToastOpen": false,
"gasIsLoading": false,
"isLoading": false,
"modal": {
"open": false,
Expand Down
5 changes: 0 additions & 5 deletions ui/selectors/selectors.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1084,11 +1084,6 @@ describe('Selectors', () => {
);
});

it('#getGasIsLoading', () => {
const gasIsLoading = selectors.getGasIsLoading(mockState);
expect(gasIsLoading).toStrictEqual(false);
});

it('#getCurrentCurrency', () => {
const currentCurrency = selectors.getCurrentCurrency(mockState);
expect(currentCurrency).toStrictEqual('usd');
Expand Down

0 comments on commit f36a70e

Please sign in to comment.