Skip to content

Commit

Permalink
fix: fix Prettier error
Browse files Browse the repository at this point in the history
  • Loading branch information
ismail-benlaredj committed Nov 9, 2023
1 parent 35dc8a8 commit 6c461a3
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 60 deletions.
39 changes: 0 additions & 39 deletions _data/db.json

This file was deleted.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"prepare": "husky install"
},
"dependencies": {
"@fortawesome/react-fontawesome": "^0.2.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.0.0",
"date-fns": "^2.30.0",
Expand Down
4 changes: 2 additions & 2 deletions src/pages/_app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import Layout from "@/layout/Layout";
function MyApp({ Component, pageProps }) {
return (
<AuthProvider>
{/* <Layout> */}
<Layout>
<Component {...pageProps} />
{/* </Layout> */}
</Layout>
</AuthProvider>
);
}
Expand Down
14 changes: 0 additions & 14 deletions src/pages/listed-items/[slug].jsx

This file was deleted.

4 changes: 0 additions & 4 deletions src/pages/listed-items/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,13 @@ import Footer from "@/components/footer/Footer";
import ItemCard from "@/components/itemcard/ItemCard";
import Navbar from "@/components/navbar/Navbar";


//hey you need to run the server of the fake api (json-server --watch --port 4000 ./_data/db.json) in order for this page to work,
// also fontawesome won't work for some reason and the advanced search still needs to be reviewed in order to be merged. if u click on the click me it will take u to another page yay.
// I made a couple of tweaks to the itemcard and category so it could look descent.

export default function Information({ id, items }) {
return (
<div>
<Navbar />
<Link href={`listed-items/${id}`}>
<h1>Click Me</h1>
</Link>
Expand All @@ -40,8 +38,6 @@ export default function Information({ id, items }) {
</div>
))}
</div>

<Footer />
</div>
);
}
Expand Down

0 comments on commit 6c461a3

Please sign in to comment.