SHARE
TWEET

Untitled

a guest Jul 18th, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top