Skip to content

Commit

Permalink
remove unused webReducer stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
dkent600 committed Jul 30, 2020
1 parent 0c53b00 commit f71de3c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/reducers/web3Reducer.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
export enum ActionTypes {
WEB3_SET_ACCOUNT = "WEB3_SET_ACCOUNT",
OTHER_ACTION = "__any_other_action_type__",
}

export interface IWeb3State {
accounts: string[];
currentAccountAddress: string | null;
networkId: number;
}

const initialState: IWeb3State = {
accounts: [],
currentAccountAddress: null,
networkId: 0, // unknown network
};

const web3Reducer = (state = initialState, action: any) => {
Expand Down

0 comments on commit f71de3c

Please sign in to comment.