Skip to content

Commit

Permalink
chore: remove dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
0xExp-po committed Sep 13, 2024
1 parent d5d97f5 commit 6fdbe46
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions dapp/src/components/ProjectList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ const ProjectList = () => {
const [isModalOpen, setModalOpen] = useState(false);
const [projectInfo, setProjectInfo] = useState(null);

const options = [
{ label: 'All', value: 'all' },
{ label: 'Web', value: 'web' },
{ label: 'Mobile', value: 'mobile' },
{ label: 'Desktop', value: 'desktop' },
];
// const options = [
// { label: 'All', value: 'all' },
// { label: 'Web', value: 'web' },
// { label: 'Mobile', value: 'mobile' },
// { label: 'Desktop', value: 'desktop' },
// ];

useEffect(() => {
const fetchProjects = async () => {
Expand Down Expand Up @@ -72,12 +72,12 @@ const ProjectList = () => {
return (
<div className="project-list-container">
<div className="filters flex items-center gap-2 sm:gap-4 mb-4">
<Dropdown options={options} onSelect={(e) => setCategory(e.target.value)} />
<div className="search-container relative">
{/* <Dropdown options={options} onSelect={(e) => setCategory(e.target.value)} /> */}
<div className="search-container relative w-full">
<input
type="text"
placeholder="Search projects..."
className="w-36 sm:w-48 border rounded-2xl pl-3 sm:pl-4 pr-6 sm:pr-8 py-1"
className="w-full border rounded-2xl pl-3 sm:pl-4 pr-6 sm:pr-8 py-1 sm:py-2"
value={searchTerm}
onChange={(e) => setSearchTerm(e.target.value)}
/>
Expand Down

0 comments on commit 6fdbe46

Please sign in to comment.