diff --git a/src/features/notifications/components/notification.tsx b/src/features/notifications/components/notification.tsx index 6184d358ef..71645212a6 100644 --- a/src/features/notifications/components/notification.tsx +++ b/src/features/notifications/components/notification.tsx @@ -51,7 +51,6 @@ const icons: Record = { move: require('@tabler/icons/outline/briefcase.svg'), 'pleroma:chat_mention': require('@tabler/icons/outline/messages.svg'), 'pleroma:emoji_reaction': require('@tabler/icons/outline/mood-happy.svg'), - user_approved: require('@tabler/icons/outline/user-plus.svg'), update: require('@tabler/icons/outline/pencil.svg'), 'pleroma:event_reminder': require('@tabler/icons/outline/calendar-time.svg'), 'pleroma:participation_request': require('@tabler/icons/outline/calendar-event.svg'), @@ -99,10 +98,6 @@ const messages: Record = defineMessages({ id: 'notification.pleroma:emoji_reaction', defaultMessage: '{name} reacted to your post', }, - user_approved: { - id: 'notification.user_approved', - defaultMessage: 'Welcome to {instance}!', - }, update: { id: 'notification.update', defaultMessage: '{name} edited a post you interacted with', @@ -285,15 +280,6 @@ const Notification: React.FC = (props) => { const renderContent = () => { switch (type as NotificationType) { case 'follow': - case 'user_approved': - return account && typeof account === 'object' ? ( -