VoiceMessages: fix preview being blank

This commit is contained in:
V 2023-11-27 16:05:25 +01:00 committed by Nuckyz
parent 1619ee404a
commit f814eeb74c
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

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