Skip to content

Commit

Permalink
Merge branch 'gh-pages'
Browse files Browse the repository at this point in the history
  • Loading branch information
salino3 committed Jun 16, 2024
2 parents 356d34b + b594f7f commit 4a6c4af
Showing 1 changed file with 1 addition and 29 deletions.
30 changes: 1 addition & 29 deletions src/pods/home/home.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,38 +3,10 @@ import { CustomInputText, CustomTooltip, RotateImage } from "./components";
import "./home.styles.scss";

export const HomePage: React.FC = () => {
// interface Products {
// id: string;
// name: string;
// code: string;
// price: number;
// quantity: number;
// company: string;
// }

// const [data, setData] = useState<Products[]>([]);

// async function apiCall() {
// const response = await fetch("http://localhost:3000/products");
// setData(await response.json());
// console.log(data);
// }

// useEffect(() => {
// apiCall();
// }, []);

return (
<div className="rootHomePage">
<div className="containerHome">
<h1>Home Page</h1>
{/* */}
{/* <h3>This is the list of home page</h3>
<div className="listhomePage">
{data &&
data?.length > 0 &&
data.map((item) => <p key={item?.id}>{item?.name}</p>)}
</div> */}
<details>
<summary>Rotate Image</summary>
<div className="containerRotate">
Expand All @@ -46,7 +18,7 @@ export const HomePage: React.FC = () => {
<div className="containerInput">
<CustomInputText />
</div>
</details>{" "}
</details>
<details>
<summary>Custom Tooltip</summary>
<div className="containerInput">
Expand Down

0 comments on commit 4a6c4af

Please sign in to comment.