correct page and word selection

This commit is contained in:
Sara
2023-12-08 16:00:39 +01:00
parent 6e652f7795
commit 2fa11d8571
5 changed files with 298 additions and 1 deletions

View File

@@ -14,7 +14,7 @@ type TranscriptTopics = {
const useTopics = (id: string): TranscriptTopics => {
const [topics, setTopics] = useState<Topic[] | null>(null);
const [loading, setLoading] = useState<boolean>(false);
const [loading, setLoading] = useState<boolean>(true);
const [error, setErrorState] = useState<Error | null>(null);
const { setError } = useError();
const api = getApi();