mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-11 10:03:51 +00:00
Migrated ShlinkApiClient to TS
This commit is contained in:
@@ -55,7 +55,7 @@ export const loadMercureInfo = (buildShlinkApiClient: ShlinkApiClientBuilder) =>
|
||||
try {
|
||||
const result = await mercureInfo();
|
||||
|
||||
dispatch<Action<ShlinkMercureInfo>>({ type: GET_MERCURE_INFO, ...result });
|
||||
dispatch<GetMercureInfoAction>({ type: GET_MERCURE_INFO, ...result });
|
||||
} catch (e) {
|
||||
dispatch({ type: GET_MERCURE_INFO_ERROR });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user