import { createContext } from "react";
export const reducer = (state, action) => {
    switch (action.type) {
        case "set":
            return { ...state, theme: action.payload };
            break;
        default:
            return state;
    }
};
export const Appcontext = createContext(null);
//# sourceMappingURL=AppContext.js.map