update interface

This commit is contained in:
Gerzon Z 2022-01-20 17:00:04 -04:00
parent 06ba2d172b
commit 2bcf2ef495
2 changed files with 3 additions and 3 deletions

View File

@ -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 {

View File

@ -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 {