mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-04-13 10:06:19 +00:00
Created mercure info reducer and loaded info when server is reachable
This commit is contained in:
8
src/mercure/services/provideServices.js
Normal file
8
src/mercure/services/provideServices.js
Normal file
@@ -0,0 +1,8 @@
|
||||
import { loadMercureInfo } from '../reducers/mercureInfo';
|
||||
|
||||
const provideServices = (bottle) => {
|
||||
// Actions
|
||||
bottle.serviceFactory('loadMercureInfo', loadMercureInfo, 'buildShlinkApiClient');
|
||||
};
|
||||
|
||||
export default provideServices;
|
||||
Reference in New Issue
Block a user