Advertisement
Guest User

Untitled

a guest
Jul 18th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. import { createContext } from "react";
  2. import { authStore } from "../auth";
  3. import { counterStore } from "../counter";
  4.  
  5. export const initialState = {
  6. store: {
  7. ...authStore,
  8. ...counterStore
  9. },
  10. dispatch: () => {}
  11. };
  12.  
  13. const Context = createContext(initialState);
  14.  
  15. export default Context;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement