mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-08 14:35:45 +01:00
Bootstrapped login in UI
This commit is contained in:
@@ -6,16 +6,19 @@ import { routerReducer, routerMiddleware } from "react-router-redux";
|
||||
|
||||
import repositories from "./repositories/modules/repositories";
|
||||
import users from "./users/modules/users";
|
||||
import login from "./modules/login";
|
||||
|
||||
import type {BrowserHistory} from "history/createBrowserHistory";
|
||||
import type { BrowserHistory } from "history/createBrowserHistory";
|
||||
|
||||
function createReduxStore(history: BrowserHistory) {
|
||||
const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;
|
||||
const composeEnhancers =
|
||||
window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;
|
||||
|
||||
const reducer = combineReducers({
|
||||
router: routerReducer,
|
||||
repositories,
|
||||
users
|
||||
users,
|
||||
login
|
||||
});
|
||||
|
||||
return createStore(
|
||||
|
||||
Reference in New Issue
Block a user