Skip to content

Commit

Permalink
Update apps/router/src/context/gateway/GatewayContext.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
Kodylow and coderabbitai[bot] authored Oct 22, 2024
1 parent 9643595 commit 22d96b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/router/src/context/gateway/GatewayContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const reducer = (
case GATEWAY_APP_ACTION_TYPE.SET_SHOW_CONNECT_FED:
return { ...state, showConnectFed: action.payload };
case GATEWAY_APP_ACTION_TYPE.SET_WALLET_MODAL_STATE:
return { ...state, walletModalState: action.payload };
return { ...state, walletModalState: { ...state.walletModalState, ...action.payload } };
case GATEWAY_APP_ACTION_TYPE.SET_ACTIVE_TAB:
return { ...state, activeTab: action.payload };
default:
Expand Down

0 comments on commit 22d96b2

Please sign in to comment.