Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { createContext } from "react";
- import { authStore } from "../auth";
- import { counterStore } from "../counter";
- export const initialState = {
- store: {
- ...authStore,
- ...counterStore
- },
- dispatch: () => {}
- };
- const Context = createContext(initialState);
- export default Context;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement