update action definition

This commit is contained in:
Gerzon Z 2022-01-20 17:07:11 -04:00
parent 2bcf2ef495
commit 757b2c739b
1 changed files with 2 additions and 2 deletions

View File

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