From faf0a7cfcfd4c3e437d04505b7ed9cb72056f0db Mon Sep 17 00:00:00 2001 From: colinlefter Date: Tue, 9 Apr 2024 11:10:28 -0700 Subject: [PATCH] Added icon to add friend modal --- Application/components/FriendsColumn/AddFriendModal.tsx | 2 ++ Application/components/FriendsColumn/RemoveFriendModal.tsx | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Application/components/FriendsColumn/AddFriendModal.tsx b/Application/components/FriendsColumn/AddFriendModal.tsx index 0a2a78f..7d403e4 100644 --- a/Application/components/FriendsColumn/AddFriendModal.tsx +++ b/Application/components/FriendsColumn/AddFriendModal.tsx @@ -5,6 +5,7 @@ import { IconPlus } from '@tabler/icons-react'; import { NewFriendModalProps } from '@/accordTypes'; import { notifications, showNotification } from '@mantine/notifications'; import { useUser } from '@clerk/nextjs'; +import { IconUserPlus } from '@tabler/icons-react'; export function AddFriendModal({ senderID, setLastFetched }: NewFriendModalProps) { const { user } = useUser(); @@ -74,6 +75,7 @@ export function AddFriendModal({ senderID, setLastFetched }: NewFriendModalProps fullWidth onClick={open} variant="gradient" + leftSection={} > Add friend diff --git a/Application/components/FriendsColumn/RemoveFriendModal.tsx b/Application/components/FriendsColumn/RemoveFriendModal.tsx index fae8ed8..875e5d8 100644 --- a/Application/components/FriendsColumn/RemoveFriendModal.tsx +++ b/Application/components/FriendsColumn/RemoveFriendModal.tsx @@ -99,7 +99,7 @@ export function RemoveFriendModal(): JSX.Element { variant="gradient" leftSection={} > - Remove a friend + Remove friends