Skip to content

Commit

Permalink
Merge pull request #185 from Actualiza-Tu-Carro/fixBugs
Browse files Browse the repository at this point in the history
Removed icons in filters
  • Loading branch information
JohanMejia77 authored Oct 24, 2023
2 parents f5e595a + ff72e8c commit 0528e78
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 0528e78

Please sign in to comment.