NextJS 14 experimental upgrade

This commit is contained in:
Koper
2023-12-26 20:49:40 +07:00
parent ee3b4cb9f7
commit 9f42c4d8a7
12 changed files with 1243 additions and 146 deletions

View File

@@ -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);