mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-22 05:09:05 +00:00
NextJS 14 experimental upgrade
This commit is contained in:
@@ -19,10 +19,9 @@ const useTranscriptList = (page: number): TranscriptList => {
|
||||
|
||||
useEffect(() => {
|
||||
setLoading(true);
|
||||
if (!api)
|
||||
|
||||
return;
|
||||
api.v1TranscriptsList(page)
|
||||
if (!api) return;
|
||||
api
|
||||
.v1TranscriptsList(page)
|
||||
.then((response) => {
|
||||
setResponse(response);
|
||||
setLoading(false);
|
||||
|
||||
Reference in New Issue
Block a user