From c14e025ad90b5b7d3c57c6e5829fdbdd757293d6 Mon Sep 17 00:00:00 2001 From: Ali Josheghani Date: Fri, 24 May 2024 17:07:48 +0330 Subject: [PATCH] feat : change footer copy right content components --- src/components/footer/components/CopyRight.tsx | 5 ++--- src/pages/tutorial/section/components/Leran.tsx | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/components/footer/components/CopyRight.tsx b/src/components/footer/components/CopyRight.tsx index 357f7fc..99dbd90 100644 --- a/src/components/footer/components/CopyRight.tsx +++ b/src/components/footer/components/CopyRight.tsx @@ -1,9 +1,8 @@ const CopyRight = () => { return (
-

- تمام حقوق این سایت مطعلق به پرشین پینگ است . ساخته شده با عشق توسط سهیل - خالدابادی +

+ تمام حقوق این سایت مطعلق به پرشین پینگ است{" "}

); diff --git a/src/pages/tutorial/section/components/Leran.tsx b/src/pages/tutorial/section/components/Leran.tsx index defa3b8..eead2f4 100644 --- a/src/pages/tutorial/section/components/Leran.tsx +++ b/src/pages/tutorial/section/components/Leran.tsx @@ -1,4 +1,4 @@ -import { useEffect, useState } from "react"; +import { SyntheticEvent, useEffect, useState } from "react"; import { LearnProps } from "../../../../types/props"; import { BiLoaderAlt } from "react-icons/bi"; @@ -64,7 +64,7 @@ const Learn = ({ activeTutorial, tutorialList }: LearnProps) => { ); setLoading(true); }, [activeTutorial]); - const handleLoadingImage = (e) => { + const handleLoadingImage = (e: SyntheticEvent) => { if (e.type === "load") setLoading(false); }; return (