Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
Added icon to add friend modal
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinLefter committed Apr 9, 2024
1 parent b8aebf2 commit faf0a7c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Application/components/FriendsColumn/AddFriendModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -74,6 +75,7 @@ export function AddFriendModal({ senderID, setLastFetched }: NewFriendModalProps
fullWidth
onClick={open}
variant="gradient"
leftSection={<IconUserPlus size={16} color="white" />}
>
Add friend
</Button>
Expand Down
2 changes: 1 addition & 1 deletion Application/components/FriendsColumn/RemoveFriendModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export function RemoveFriendModal(): JSX.Element {
variant="gradient"
leftSection={<IconUserMinus size={16} color="white" />}
>
Remove a friend
Remove friends
</Button>

<Modal
Expand Down

0 comments on commit faf0a7c

Please sign in to comment.