mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
Clear the preview when re-downloading models
This commit is contained in:
parent
1d9ffea65d
commit
6e18fbd9ec
@ -66,6 +66,7 @@ const useVoiceTyping = ({ locale, provider, onSetPreview, onText }: UseVoiceTypi
|
||||
useAsyncEffect(async (event: AsyncEffectEvent) => {
|
||||
try {
|
||||
await voiceTypingRef.current?.stop();
|
||||
onSetPreviewRef.current?.('');
|
||||
|
||||
setModelIsOutdated(await builder.isDownloadedFromOutdatedUrl());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user