feat : change footer copy right content components

This commit is contained in:
Ali Josheghani
2024-05-24 17:07:48 +03:30
parent 49cda7ec08
commit c14e025ad9
2 changed files with 4 additions and 5 deletions

View File

@@ -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<HTMLImageElement>) => {
if (e.type === "load") setLoading(false);
};
return (