Skip to content

Commit

Permalink
Changes to be committed:
Browse files Browse the repository at this point in the history
	modified:   client/src/components/cards/Cards.tsx
	modified:   client/src/pages/products/index.tsx
  • Loading branch information
Thith-thith committed Aug 25, 2023
1 parent 3992581 commit 17339ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/src/components/cards/Cards.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Component, Show } from "solid-js";
import { useCartContext } from "../../context/CartContext";
import { A, useNavigate } from "@solidjs/router";
import { useNavigate } from "@solidjs/router";

export type Product = {
id: string;
Expand Down
4 changes: 2 additions & 2 deletions client/src/pages/products/index.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Component, For, createResource } from "solid-js";
import Cards from "../../components/cards/Cards";
import { A } from "@solidjs/router";
import Cards from "../../components/cards/Cards";

const Products: Component<{}> = () => {
const Products: Component = () => {
const fetchData = async () => {
const res = await fetch("https://cptdb.koompi.com/CoreProducts");
return res.json();
Expand Down

0 comments on commit 17339ab

Please sign in to comment.