Skip to content

Commit

Permalink
fix: first example not working
Browse files Browse the repository at this point in the history
  • Loading branch information
BastinJafari committed Sep 24, 2021
1 parent 4a69e4b commit 67be1c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/showcases/src/pages/e-commerce.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ export default function Home() {
<div className="cursor-pointer" onClick={() => {
setOriginalDocuments([url])
if (color) onFilter([{attribute: "color", operator: "eq", value: color}])
else(search(url))
}}>
<img className="w-56 h-auto" src={url}/>
<div className="flex items-center justify-center">
Expand Down

0 comments on commit 67be1c0

Please sign in to comment.