text: import React, { createContext, useReducer } from 'react';
  import Reducer from '../reducers/authReducer';
  const initialState = {
    isAuthorized: {},
    formAnswer: {},
  };
  
  const Store = ({ children }) => {
    const [state, dispatch] = useReducer(Reducer, initialState);
    return <Context.Provider value={[state, dispatch]}>{children}</Context.Provider>
  }
  
  export const Context = createContext(initialState);
  
  export default Store;
  