feat: add error dialog

This commit is contained in:
Kentai Radiquum 2025-04-10 15:43:08 +05:00
parent e25bcb2415
commit ac70db8de6
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
5 changed files with 87 additions and 69 deletions

View file

@ -68,6 +68,8 @@ export const SourceSelectorMenu = ({
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [voiceover]);
if (!voiceover || !source || !sourceList || sourceList.length <= 1) return <></>
return (
<div className="flex flex-col items-start justify-start gap-4">
<p className="text-[20px] px-2 pt-2 pb-1 font-bold">Источник</p>