File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ import PlusIcon from '@/components/icons/PlusIcon';
2626import GearIcon from '@/components/icons/GearIcon' ;
2727import { deleteServer , leaveServer } from '@/services/server.service' ;
2828import TrashIcon from '@/components/icons/TrashIcon' ;
29+ import { LeaveIcon } from '@/components/icons/LeaveIcon' ;
2930
3031export default function Server ( {
3132 server,
@@ -141,7 +142,7 @@ export default function Server({
141142 hidden = { ( serverPermissions & 1 ) === 1 }
142143 >
143144 < div className = "flex flex-row w-full" >
144- < GearIcon width = { 5 } height = { 5 } />
145+ < LeaveIcon className = '!w-5 !h-5' />
145146 < span className = "ml-2 w-full" > Leave Server</ span >
146147 </ div >
147148 </ DropdownMenu . Item >
Original file line number Diff line number Diff line change 1+ export function LeaveIcon ( { className } : { className ?: string } ) {
2+ return (
3+ < svg
4+ xmlns = "http://www.w3.org/2000/svg"
5+ fill = "none"
6+ viewBox = "0 0 24 24"
7+ stroke-width = "1.5"
8+ stroke = "currentColor"
9+ className = { `w-6 h-6 ${ className } ` }
10+ >
11+ < path
12+ stroke-linecap = "round"
13+ stroke-linejoin = "round"
14+ d = "M9 15L3 9m0 0l6-6M3 9h12a6 6 0 010 12h-3"
15+ />
16+ </ svg >
17+ ) ;
18+ }
You can’t perform that action at this time.
0 commit comments