chore: fix error on error interface

This commit is contained in:
GleidsonDaniel 2022-01-17 11:20:29 -03:00
parent 89b9e17481
commit 1c5d442712
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ export interface ISetSearch extends Action {
}
export interface IRoomsFailure extends Action {
err: string;
err: Record<string, any> | string;
}
export type IRoomsAction = IRoomsRequest & ISetSearch & IRoomsFailure;

View File

@ -5,7 +5,7 @@ export interface IRooms {
isFetching: boolean;
refreshing: boolean;
failure: boolean;
errorMessage: Record<string, any>;
errorMessage: Record<string, any> | string;
searchText: string;
showServerDropdown: boolean;
closeServerDropdown: boolean;