diff --git a/package-lock.json b/package-lock.json
index 4ede4d8..13dc126 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -26,6 +26,7 @@
"match-sorter": "^6.3.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
+ "react-fast-marquee": "^1.3.5",
"react-redux": "^8.0.5",
"react-router-dom": "^6.8.1",
"react-scripts": "5.0.1",
@@ -14637,6 +14638,15 @@
"resolved": "https://registry.npmjs.org/react-error-overlay/-/react-error-overlay-6.0.11.tgz",
"integrity": "sha512-/6UZ2qgEyH2aqzYZgQPxEnz33NJ2gNsnHA2o5+o4wW9bLM/JYQitNP9xPhsXwC08hMMovfGe/8retsdDsczPRg=="
},
+ "node_modules/react-fast-marquee": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/react-fast-marquee/-/react-fast-marquee-1.3.5.tgz",
+ "integrity": "sha512-eOqLoz4iVVBvi2wN/web8hd2XX9y2Z6CYR7g++7nTVHlTOXBtqyARQJ9rYNpbp179hAzloMx0yBFAo8LpNYmKQ==",
+ "peerDependencies": {
+ "react": ">= 16.8.0 || 18.0.0",
+ "react-dom": ">= 16.8.0 || 18.0.0"
+ }
+ },
"node_modules/react-is": {
"version": "17.0.2",
"resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz",
diff --git a/package.json b/package.json
index 36b0c36..dc5b642 100644
--- a/package.json
+++ b/package.json
@@ -21,6 +21,7 @@
"match-sorter": "^6.3.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
+ "react-fast-marquee": "^1.3.5",
"react-redux": "^8.0.5",
"react-router-dom": "^6.8.1",
"react-scripts": "5.0.1",
diff --git a/src/components/DashboardContainer/DashboardContainer.tsx b/src/components/DashboardContainer/DashboardContainer.tsx
deleted file mode 100644
index ef390ba..0000000
--- a/src/components/DashboardContainer/DashboardContainer.tsx
+++ /dev/null
@@ -1,30 +0,0 @@
-import React from "react";
-
-export interface props {
- children: React.ReactNode;
-}
-
-export default function DashboardContainer(props: props) {
- return (
-
- );
-}
diff --git a/src/components/ProductListEntry/ProductListEntry.tsx b/src/components/ProductListEntry/ProductListEntry.tsx
deleted file mode 100644
index cfb6f30..0000000
--- a/src/components/ProductListEntry/ProductListEntry.tsx
+++ /dev/null
@@ -1,47 +0,0 @@
-import React, { useEffect, useState } from "react";
-
-export interface props {
- children: React.ReactNode;
-}
-
-export default function ProductListEntry(props: props) {
- const [size, setSize] = useState(64);
-
- useEffect(() => {
- function onEnter() {
- setSize(256);
- }
- function onLeave() {
- setSize(128);
- }
-
- document
- .getElementById("container")
- ?.addEventListener("mouseenter", onEnter);
- document
- .getElementById("container")
- ?.addEventListener("mouseleave", onLeave);
- return () => {
- document
- .getElementById("container")
- ?.removeEventListener("mouseenter", onEnter);
- document
- .getElementById("container")
- ?.removeEventListener("mouseleave", onLeave);
- };
- }, []);
- return (
-
- {props.children}
-
- );
-}
diff --git a/src/routes/Dashboard/Dashboard.tsx b/src/routes/Dashboard/Dashboard.tsx
index 4737efb..eccc973 100644
--- a/src/routes/Dashboard/Dashboard.tsx
+++ b/src/routes/Dashboard/Dashboard.tsx
@@ -1,6 +1,5 @@
import React from "react";
import TotalProductsIcon from "../../Components/Icons/TotalProductsIcon/TotalProductsIcon";
-import DashboardContainer from "../../Components/DashboardContainer/DashboardContainer";
import LowStockIcon from "../../Components/Icons/LowStockIcon/LowStockIcon";
import StatsIcon from "../../Components/Icons/StatsIcon/StatsIcon";
import LogsIcon from "../../Components/Icons/LogsIcon/LogsIcon";
@@ -75,7 +74,7 @@ export default function Dashboard() {
- Kopiko Blanca (Sack)
+ Kopiko Blanca
Added: 96
Removed: 105
02/17/2023
diff --git a/src/routes/Products/Products.tsx b/src/routes/Products/Products.tsx
index a53ff9c..2d0326e 100644
--- a/src/routes/Products/Products.tsx
+++ b/src/routes/Products/Products.tsx
@@ -1,9 +1,6 @@
import React from "react";
import styles from "../../styles";
-import AppLogo from "../../Components/Icons/AppLogo/AppLogo";
import ProductsIcon from "../../Components/Icons/ProductsIcon/ProductsIcon";
-import ProductListEntry from "../../Components/ProductListEntry/ProductListEntry";
-
export default function Products() {
return (