From 2bcf2ef495f088265286710326f7913c8abcc34c Mon Sep 17 00:00:00 2001 From: Gerzon Z Date: Thu, 20 Jan 2022 17:00:04 -0400 Subject: [PATCH] update interface --- app/actions/server.ts | 4 ++-- app/reducers/server.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/actions/server.ts b/app/actions/server.ts index f635e412f..3661892da 100644 --- a/app/actions/server.ts +++ b/app/actions/server.ts @@ -5,8 +5,8 @@ import { SERVER } from './actionsTypes'; interface ISelectServer extends Action { server: string; version?: string; - fetchVersion?: boolean; - changeServer?: boolean; + fetchVersion: boolean; + changeServer: boolean; } interface ISelectServerSuccess extends Action { diff --git a/app/reducers/server.ts b/app/reducers/server.ts index 5641ef03c..551c4fbab 100644 --- a/app/reducers/server.ts +++ b/app/reducers/server.ts @@ -46,7 +46,7 @@ export default function server(state = initialState, action: TApplicationActions connecting: true, connected: false, loading: true, - changingServer: action.changeServer! + changingServer: action.changeServer }; case SERVER.SELECT_SUCCESS: return {