diff --git a/src/components/Note/MutedNote.tsx b/src/components/Note/MutedNote.tsx index 4964ff6..4a04e5a 100644 --- a/src/components/Note/MutedNote.tsx +++ b/src/components/Note/MutedNote.tsx @@ -2,12 +2,22 @@ import { Button } from '@/components/ui/button' import { Eye } from 'lucide-react' import { useTranslation } from 'react-i18next' -export default function MutedNote({ show }: { show: () => void }) { +export default function MutedNote({ + show, + reason = 'user' +}: { + show: () => void + reason?: 'user' | 'thread' +}) { const { t } = useTranslation() return (
-
{t('This user has been muted')}
+
+ {reason === 'thread' + ? t('This note is from a thread you muted') + : t('This user has been muted')} +