mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-22 05:09:05 +00:00
review fixes
This commit is contained in:
@@ -13,7 +13,7 @@ type ErrorParticipants = {
|
||||
type LoadingParticipants = {
|
||||
response: Participant[] | null;
|
||||
loading: true;
|
||||
error: false;
|
||||
error: null;
|
||||
};
|
||||
|
||||
type SuccessParticipants = {
|
||||
@@ -63,6 +63,8 @@ const useParticipants = (transcriptId: string): UseParticipants => {
|
||||
setError(error);
|
||||
}
|
||||
setErrorState(error);
|
||||
setResponse(null);
|
||||
setLoading(false);
|
||||
});
|
||||
}, [transcriptId, !api, count]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user