feat : change footer copy right content components
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user