From 22d96b262f32051a2ab3917c159adcbcf6ca27b6 Mon Sep 17 00:00:00 2001 From: Kody Low <74332828+Kodylow@users.noreply.github.com> Date: Tue, 22 Oct 2024 13:24:40 -0700 Subject: [PATCH] Update apps/router/src/context/gateway/GatewayContext.tsx Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- apps/router/src/context/gateway/GatewayContext.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/router/src/context/gateway/GatewayContext.tsx b/apps/router/src/context/gateway/GatewayContext.tsx index 738a3f176..d0205c0be 100644 --- a/apps/router/src/context/gateway/GatewayContext.tsx +++ b/apps/router/src/context/gateway/GatewayContext.tsx @@ -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: