chore: fix error on error interface
This commit is contained in:
parent
89b9e17481
commit
1c5d442712
|
@ -11,7 +11,7 @@ export interface ISetSearch extends Action {
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface IRoomsFailure extends Action {
|
export interface IRoomsFailure extends Action {
|
||||||
err: string;
|
err: Record<string, any> | string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export type IRoomsAction = IRoomsRequest & ISetSearch & IRoomsFailure;
|
export type IRoomsAction = IRoomsRequest & ISetSearch & IRoomsFailure;
|
||||||
|
|
|
@ -5,7 +5,7 @@ export interface IRooms {
|
||||||
isFetching: boolean;
|
isFetching: boolean;
|
||||||
refreshing: boolean;
|
refreshing: boolean;
|
||||||
failure: boolean;
|
failure: boolean;
|
||||||
errorMessage: Record<string, any>;
|
errorMessage: Record<string, any> | string;
|
||||||
searchText: string;
|
searchText: string;
|
||||||
showServerDropdown: boolean;
|
showServerDropdown: boolean;
|
||||||
closeServerDropdown: boolean;
|
closeServerDropdown: boolean;
|
||||||
|
|
Loading…
Reference in New Issue