From f36a70e8cea9c16cdaa72f32f5ec4b3ce6945631 Mon Sep 17 00:00:00 2001 From: Jongsun Suh Date: Thu, 5 Dec 2024 15:07:38 -0500 Subject: [PATCH] Remove remaining `gasIsLoading`, former property of `appState` --- .storybook/test-data.js | 1 - test/data/mock-send-state.json | 1 - test/data/mock-state.json | 1 - ui/selectors/selectors.test.js | 5 ----- 4 files changed, 8 deletions(-) diff --git a/.storybook/test-data.js b/.storybook/test-data.js index a8355855c18b..80c8097d6f9e 100644 --- a/.storybook/test-data.js +++ b/.storybook/test-data.js @@ -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", diff --git a/test/data/mock-send-state.json b/test/data/mock-send-state.json index f9c602808719..6a39afc7093e 100644 --- a/test/data/mock-send-state.json +++ b/test/data/mock-send-state.json @@ -13,7 +13,6 @@ "networkDropdownOpen": false, "importNftsModal": { "open": false }, "showPermittedNetworkToastOpen": false, - "gasIsLoading": false, "isLoading": false, "importTokensModalOpen": false, "modal": { diff --git a/test/data/mock-state.json b/test/data/mock-state.json index df87bdb2f2ab..1b8238fd04cb 100644 --- a/test/data/mock-state.json +++ b/test/data/mock-state.json @@ -18,7 +18,6 @@ "open": false }, "showPermittedNetworkToastOpen": false, - "gasIsLoading": false, "isLoading": false, "modal": { "open": false, diff --git a/ui/selectors/selectors.test.js b/ui/selectors/selectors.test.js index 94057a887dfc..4e79ce9ad362 100644 --- a/ui/selectors/selectors.test.js +++ b/ui/selectors/selectors.test.js @@ -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');