Skip to content

Commit

Permalink
remove multiAccount redux, #5180
Browse files Browse the repository at this point in the history
  • Loading branch information
leocs2417 committed Dec 12, 2024
1 parent 6b8cc9f commit 1f40986
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 57 deletions.
2 changes: 0 additions & 2 deletions packages/next-common/store/reducers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import myOnChainData from "./myOnChainData";
import multisigSlice from "./multisigSlice";
import profile from "./profile";
import avatarReducer from "./avatarSlice";
import multiAccountsSlice from "./multiAccountsSlice";

export const commonReducers = {
// baseLayout header
Expand All @@ -35,7 +34,6 @@ const businessReducers = {
preImages: preImagesReducer,
...myOnChainData,
multisig: multisigSlice,
multiAccounts: multiAccountsSlice,
...profile,
};

Expand Down
49 changes: 0 additions & 49 deletions packages/next-common/store/reducers/multiAccountsSlice.js

This file was deleted.

2 changes: 0 additions & 2 deletions packages/next/pages/assethub/assets.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import RelayInfoProvider from "next-common/context/relayInfo";
import { withCommonProps } from "next-common/lib";
import { createStore } from "next-common/store";
import { commonReducers } from "next-common/store/reducers";
import multiAccountsSlice from "next-common/store/reducers/multiAccountsSlice";
import { CHAIN } from "next-common/utils/constants";
import getChainSettings from "next-common/utils/consts/settings";
import { Provider } from "react-redux";
Expand All @@ -22,7 +21,6 @@ if (isAssetHubSupported) {
chain,
reducer: {
...commonReducers,
multiAccounts: multiAccountsSlice,
},
});
}
Expand Down
2 changes: 0 additions & 2 deletions packages/next/pages/assethub/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import RelayInfoProvider from "next-common/context/relayInfo";
import { withCommonProps } from "next-common/lib";
import { createStore } from "next-common/store";
import { commonReducers } from "next-common/store/reducers";
import multiAccountsSlice from "next-common/store/reducers/multiAccountsSlice";
import { CHAIN } from "next-common/utils/constants";
import getChainSettings from "next-common/utils/consts/settings";
import useExistentialDeposit from "next-common/utils/hooks/chain/useExistentialDeposit";
Expand All @@ -26,7 +25,6 @@ if (isAssetHubSupported) {
chain,
reducer: {
...commonReducers,
multiAccounts: multiAccountsSlice,
},
});
}
Expand Down
2 changes: 0 additions & 2 deletions packages/next/pages/assethub/user/[...params].jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import ChainProvider from "next-common/context/chain";
import RelayInfoProvider from "next-common/context/relayInfo";
import { createStore } from "next-common/store";
import { commonReducers } from "next-common/store/reducers";
import multiAccountsSlice from "next-common/store/reducers/multiAccountsSlice";
import { CHAIN } from "next-common/utils/constants";
import getChainSettings from "next-common/utils/consts/settings";
import { Provider } from "react-redux";
Expand All @@ -24,7 +23,6 @@ if (isAssetHubSupported) {
chain,
reducer: {
...commonReducers,
multiAccounts: multiAccountsSlice,
},
});
}
Expand Down

0 comments on commit 1f40986

Please sign in to comment.