Skip to content

Commit c198f2e

Browse files
committed
Update FilterBar.tsx
Remove unnecessary settings and duplicate match
1 parent 0bd6de6 commit c198f2e

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

peerprep-fe/src/app/(main)/components/filter/FilterBar.tsx

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
'use client';
2-
import { Button } from '@/components/ui/button';
32
import { Input } from '@/components/ui/input';
4-
import { Settings } from 'lucide-react';
53
import { FilterSelect } from './FilterSelect';
64
import { FilterBadge } from './FilterBadge';
75
import { TopicsPopover } from './TopicsPopover';
@@ -70,25 +68,6 @@ export default function FilterBar({
7068
onChange={handleSearch}
7169
/>
7270
</div>
73-
<Button
74-
variant="outline"
75-
size="icon"
76-
className="border-gray-700 bg-gray-800"
77-
>
78-
<Settings className="h-4 w-4" />
79-
</Button>
80-
{!isAdmin ? (
81-
<Button className="bg-green-600 text-white hover:bg-green-700">
82-
Match
83-
</Button>
84-
) : (
85-
<Button
86-
className="bg-blue-600 text-white hover:bg-blue-700"
87-
onClick={buttonCallback}
88-
>
89-
Add
90-
</Button>
91-
)}
9271
</div>
9372
<div className="flex flex-wrap gap-2">
9473
{filters.difficulty && (

0 commit comments

Comments
 (0)