mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-21 12:49:06 +00:00
www: fix loading of past transcript before the user is authenticated
This commit is contained in:
@@ -19,8 +19,7 @@ const useWaveform = (api: DefaultApi, id: string): AudioWaveFormResponse => {
|
||||
const { setError } = useError();
|
||||
|
||||
const getWaveform = (id: string) => {
|
||||
if (!id)
|
||||
throw new Error("Transcript ID is required to get transcript waveform");
|
||||
if (!id) return;
|
||||
|
||||
setLoading(true);
|
||||
const requestParameters: V1TranscriptGetAudioWaveformRequest = {
|
||||
|
||||
Reference in New Issue
Block a user