VoiceMessages: fix preview being blank

This commit is contained in:
V 2023-11-27 16:05:25 +01:00
parent fc10bc1e69
commit 58c6611abe
No known key found for this signature in database
GPG key ID: A1DC0CFB5615D905

View file

@ -25,7 +25,7 @@ interface VoiceMessageProps {
src: string; src: string;
waveform: string; waveform: string;
} }
const VoiceMessage = findComponentByCodeLazy<VoiceMessageProps>("waveform:"); const VoiceMessage = findComponentByCodeLazy<VoiceMessageProps>("waveform:", "onVolumeChange");
export type VoicePreviewOptions = { export type VoicePreviewOptions = {
src?: string; src?: string;