prevent prefetch of login/logout

This commit is contained in:
Sara
2023-11-01 17:17:49 +01:00
committed by Mathieu Virbel
parent 0be1bbe96a
commit 1e262ff8b4
3 changed files with 3 additions and 4 deletions

View File

@@ -55,7 +55,7 @@ export default function TranscriptDetails(details: TranscriptDetails) {
return (
<>
{transcript?.loading === true || topics?.loading === true ? (
{!transcriptId || transcript?.loading || topics?.loading ? (
<Modal title="Loading" text={"Loading transcript..."} />
) : (
<>