diff --git a/src/app/genshin/components/Character.tsx b/src/app/genshin/components/Character.tsx index 0cd8655..a1aeea9 100755 --- a/src/app/genshin/components/Character.tsx +++ b/src/app/genshin/components/Character.tsx @@ -96,17 +96,8 @@ export default function Character({ data }: { data: Cities }) { currentCharacter={currentCharacter.name} handleTouchEnd={handleTouchEnd} handleTouchStart={handleTouchStart} - setCharacterLoading={setCharacterLoading} /> ))} - {/* {currentCharacter.name && ( - - )} */}
{currentCharacter.name && }
diff --git a/src/app/genshin/components/Profile.tsx b/src/app/genshin/components/Profile.tsx index 8767430..6f767d6 100755 --- a/src/app/genshin/components/Profile.tsx +++ b/src/app/genshin/components/Profile.tsx @@ -5,18 +5,16 @@ export default function Profile({ currentCharacter, handleTouchEnd, handleTouchStart, - setCharacterLoading, charName, }: { currentCharacter: string; handleTouchEnd: (e: React.TouchEvent) => void; handleTouchStart: (e: React.TouchEvent) => void; - setCharacterLoading: React.Dispatch>; charName: string; }) { return (
handleTouchEnd(e)} @@ -33,11 +31,6 @@ export default function Profile({ alt={charName} fill={true} priority={currentCharacter == charName} - // onLoad={(e) => { - // setCharacterLoading(false); - // e.currentTarget.classList.add("animate-slide-in"); - // e.currentTarget.classList.remove("opacity-0"); - // }} placeholder="blur" />