From 757b2c739bb43703dd3143627ba50aef3070c5db Mon Sep 17 00:00:00 2001 From: Gerzon Z Date: Thu, 20 Jan 2022 17:07:11 -0400 Subject: [PATCH] update action definition --- app/reducers/server.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/reducers/server.ts b/app/reducers/server.ts index 551c4fbab..02a7ffede 100644 --- a/app/reducers/server.ts +++ b/app/reducers/server.ts @@ -1,4 +1,4 @@ -import { TApplicationActions } from '../definitions'; +import { TActionServer } from '../actions/server'; import { SERVER } from '../actions/actionsTypes'; export interface IServer { @@ -23,7 +23,7 @@ export const initialState: IServer = { changingServer: false }; -export default function server(state = initialState, action: TApplicationActions): IServer { +export default function server(state = initialState, action: TActionServer): IServer { switch (action.type) { case SERVER.REQUEST: return {