mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-17 04:53:49 +00:00
Migrated all service providers to typescript
This commit is contained in:
9
src/mercure/services/provideServices.ts
Normal file
9
src/mercure/services/provideServices.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import Bottle from 'bottlejs';
|
||||
import { loadMercureInfo } from '../reducers/mercureInfo';
|
||||
|
||||
const provideServices = (bottle: Bottle) => {
|
||||
// Actions
|
||||
bottle.serviceFactory('loadMercureInfo', loadMercureInfo, 'buildShlinkApiClient');
|
||||
};
|
||||
|
||||
export default provideServices;
|
||||
Reference in New Issue
Block a user