diff --git a/src/components/layout/status/list/index.tsx b/src/components/layout/status/list/index.tsx index b2c6e4e..035a758 100644 --- a/src/components/layout/status/list/index.tsx +++ b/src/components/layout/status/list/index.tsx @@ -61,7 +61,6 @@ export const StatusList = ({ throw new Error('Status must be between 3 & 80 characters'); if (selectedUserIds.length === 0 && user?.id) await bulkCreate({ message, userIds: [user.id] }); - else throw new Error("Hmm.. this shouldn't happen"); await bulkCreate({ message, userIds: selectedUserIds }); toast.success('Status updated.'); setSelectedUserIds([]);