OSDN Git Service

update enable function.
[bytom/Bytom-Dapp-Demo.git] / src / reducers / rotateReducer.js
index e5a2667..0a0310f 100644 (file)
@@ -15,6 +15,11 @@ export default (state, action) => {
         ...state,
         bytom: action.bytom
       };
+    case "UPDATE_BYTOM_CONNECTION":
+      return {
+        ...state,
+        bytomConnection: action.bytomConnection
+      };
     default:
       return state
   }