diff --git a/src/reducers/modal.js b/src/reducers/modal.js index b8274526..142952c8 100644 --- a/src/reducers/modal.js +++ b/src/reducers/modal.js @@ -1,11 +1,11 @@ import { OPEN_MODAL, CLOSE_MODAL, SET_RENDER_CONTENT } from "../actions" -const intialState = { +const initialState = { isOpen: false, renderContent: null, } -const modal = (state = intialState, action) => { +const modal = (state = initialState, action) => { switch (action.type) { case OPEN_MODAL: // console.log("OPEN!") diff --git a/src/reducers/wallet-modal.js b/src/reducers/wallet-modal.js index 96dc8358..c711ebc5 100644 --- a/src/reducers/wallet-modal.js +++ b/src/reducers/wallet-modal.js @@ -1,10 +1,10 @@ import { OPEN_WALLET_MODAL, CLOSE_WALLET_MODAL } from "../actions" -const intialState = { +const initialState = { isOpen: false, } -const walletModal = (state = intialState, action) => { +const walletModal = (state = initialState, action) => { switch (action.type) { case OPEN_WALLET_MODAL: return {