Files
shlink-web-client/src/mercure/services/provideServices.ts
2020-08-23 09:03:44 +02:00

10 lines
271 B
TypeScript

import Bottle from 'bottlejs';
import { loadMercureInfo } from '../reducers/mercureInfo';
const provideServices = (bottle: Bottle) => {
// Actions
bottle.serviceFactory('loadMercureInfo', loadMercureInfo, 'buildShlinkApiClient');
};
export default provideServices;