bento-auth-js
Version:
Authentication library for web applications of Bento-Platform
15 lines • 522 B
JavaScript
import { configureStore } from "@reduxjs/toolkit";
import auth from "./authSlice";
import openIdConfiguration from "./openIdConfigSlice";
import { useDispatch } from "react-redux";
// This store is only created as a way to export its state and dispatch types
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const authStore = configureStore({
reducer: {
auth,
openIdConfiguration,
},
devTools: false,
});
export const useAppDispatch = useDispatch;
//# sourceMappingURL=store.js.map