From ed692c8bef233b608d4f53b7ee96963ac494ddee Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Fri, 18 Mar 2022 16:23:14 -0500 Subject: [PATCH] Fix build >:( --- app/soapbox/actions/instance.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/soapbox/actions/instance.ts b/app/soapbox/actions/instance.ts index 2eb20f80fb..150e9cc863 100644 --- a/app/soapbox/actions/instance.ts +++ b/app/soapbox/actions/instance.ts @@ -1,5 +1,4 @@ import { get } from 'lodash'; -import { AnyAction } from 'redux'; import KVStore from 'soapbox/storage/kv_store'; import { AppDispatch, RootState } from 'soapbox/store'; @@ -37,7 +36,7 @@ export const getHost = (state: RootState) => { }; export function rememberInstance(host: string) { - return (dispatch: AppDispatch, _getState: () => RootState): AnyAction => { + return (dispatch: AppDispatch, _getState: () => RootState) => { dispatch({ type: INSTANCE_REMEMBER_REQUEST, host }); return KVStore.getItemOrError(`instance:${host}`).then((instance: Record) => { dispatch({ type: INSTANCE_REMEMBER_SUCCESS, host, instance });