From 0acc851e9b58cd37d5dd7634d1737cdab3448def Mon Sep 17 00:00:00 2001 From: mahdi Date: Tue, 7 Jun 2022 12:10:40 +0430 Subject: [PATCH] update 4 files and delete 1 file update src/index.scss --- src/Views/Home/Sidebar/index.js | 2 +- .../{ => MiniComponents}/AnimatedProgressBar/index.js | 2 +- src/components/MiniComponents/index.js | 2 ++ src/components/ProductSalesAmount/ProductSalesDesign2/index.js | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) rename src/components/{ => MiniComponents}/AnimatedProgressBar/index.js (91%) diff --git a/src/Views/Home/Sidebar/index.js b/src/Views/Home/Sidebar/index.js index 00f672e..906dec2 100644 --- a/src/Views/Home/Sidebar/index.js +++ b/src/Views/Home/Sidebar/index.js @@ -18,7 +18,7 @@ function Sidebar({ list, setActive }) { .map((material, index) => (
  • setActive(material)} > {material.name} diff --git a/src/components/AnimatedProgressBar/index.js b/src/components/MiniComponents/AnimatedProgressBar/index.js similarity index 91% rename from src/components/AnimatedProgressBar/index.js rename to src/components/MiniComponents/AnimatedProgressBar/index.js index 54f6d38..be0133d 100644 --- a/src/components/AnimatedProgressBar/index.js +++ b/src/components/MiniComponents/AnimatedProgressBar/index.js @@ -12,7 +12,7 @@ const AnimatedProgressBar = ({ rangeWidth, parentBg, childBg }) => { return (
    diff --git a/src/components/MiniComponents/index.js b/src/components/MiniComponents/index.js index 8e69547..d8fbd95 100644 --- a/src/components/MiniComponents/index.js +++ b/src/components/MiniComponents/index.js @@ -12,6 +12,7 @@ import DropDown from "./DropDown"; import IconText from "./IconText"; import SelectYear from "./SelectYear"; import OfferSection from "./OfferSection"; +import AnimatedProgressBar from "./AnimatedProgressBar"; function MiniComponents() { const list = { @@ -27,6 +28,7 @@ function MiniComponents() { 10: , 11: , 12: , + 13: , }; const [type, setType] = useState(1); diff --git a/src/components/ProductSalesAmount/ProductSalesDesign2/index.js b/src/components/ProductSalesAmount/ProductSalesDesign2/index.js index 0e2c466..cb6feb2 100644 --- a/src/components/ProductSalesAmount/ProductSalesDesign2/index.js +++ b/src/components/ProductSalesAmount/ProductSalesDesign2/index.js @@ -1,5 +1,5 @@ import React from "react"; -import AnimatedProgressBar from "../../AnimatedProgressBar"; +import AnimatedProgressBar from "../../MiniComponents/AnimatedProgressBar"; import TitleSubtitle from "../../MiniComponents/TitleSubtitle"; const ProductSalesDesign2 = ({ incomes }) => {