Skip to content

Commit

Permalink
Removed icons in filters
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanMejia77 committed Oct 24, 2023
1 parent ac03293 commit ff72e8c
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/components/filters/index.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
'use client';
import { useProductStore } from '~/store/productStore';
import { useEffect, useState, useRef } from 'react';
import { AiFillCaretUp, AiFillCaretDown, AiOutlineCar } from 'react-icons/ai';
import {BiCategoryAlt} from 'react-icons/bi'
import { AiFillCaretUp, AiFillCaretDown } from 'react-icons/ai';
import { Category } from '~/types/products';
import { Brand } from '~/types/products';

Expand Down Expand Up @@ -101,8 +100,7 @@ const Filters = () => {
products.length && updateBody('page', 1);
}}
>
<BiCategoryAlt/>
<label>{category.name}</label>
<label>{category.name}</label>
</div>
))}
</div>
Expand All @@ -129,8 +127,7 @@ const Filters = () => {
products.length && updateBody('page', 1);
}}
>
<AiOutlineCar/>
<label htmlFor="">{brand.name}</label>
<label>{brand.name}</label>
</div>
))}
</div>
Expand Down

0 comments on commit ff72e8c

Please sign in to comment.