mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-22 23:43:46 +00:00
Implemented loading of short URLs
This commit is contained in:
@@ -2,10 +2,10 @@ import { combineReducers } from 'redux';
|
||||
|
||||
import serversReducer from '../servers/reducers/server';
|
||||
import selectedServerReducer from '../servers/reducers/selectedServer';
|
||||
import shortUrlsListReducer from '../short-urls/reducers/shortUrlsList';
|
||||
|
||||
const rootReducer = combineReducers({
|
||||
export default combineReducers({
|
||||
servers: serversReducer,
|
||||
selectedServer: selectedServerReducer,
|
||||
shortUrlsList: shortUrlsListReducer,
|
||||
});
|
||||
|
||||
export default rootReducer;
|
||||
|
||||
8
src/reducers/types.js
Normal file
8
src/reducers/types.js
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
// Servers
|
||||
export const LOAD_SERVER = 'shlink/LOAD_SERVER';
|
||||
export const FETCH_SERVERS = 'shlink/FETCH_SERVERS';
|
||||
export const CREATE_SERVER = 'shlink/CREATE_SERVER';
|
||||
|
||||
// Short URLs
|
||||
export const LIST_SHORT_URLS = 'shlink/LIST_SHORT_URLS';
|
||||
Reference in New Issue
Block a user