@@ -23,7 +23,7 @@ import "@egjs/react-flicking/dist/flicking.css";
2323import Button from "@components/UI/Button" ;
2424import { gaEventTracker } from "@components/analytics/Analytics" ;
2525import { useDocumentTitleUpdater } from "@hooks/useDocumentTitleUpdate" ;
26- import { AnimatePresence , motion , useInView } from "framer-motion" ;
26+ import { AnimatePresence , motion } from "framer-motion" ;
2727
2828const StyledWaveContainer = styled . div `
2929 background: ${ Color . DARK_BLUE } ;
@@ -100,7 +100,6 @@ const Sponsorship: FC<React.PropsWithChildren<unknown>> = () => {
100100 new AutoPlay ( { duration : 2000 , direction : "NEXT" , stopOnHover : false } ) ,
101101 ] ;
102102 const sectionRef = useRef ( null ) ;
103- const isInView = useInView ( sectionRef , { once : true , amount : 0.3 } ) ;
104103 const listVariants = {
105104 hidden : { opacity : 0 } ,
106105 visible : {
@@ -268,7 +267,7 @@ const Sponsorship: FC<React.PropsWithChildren<unknown>> = () => {
268267 < motion . div
269268 ref = { sectionRef }
270269 initial = { { opacity : 0 , y : 50 } }
271- animate = { isInView ? { opacity : 1 , y : 0 } : { opacity : 0 , y : 50 } }
270+ animate = { { opacity : 1 , y : 0 } }
272271 transition = { { duration : 0.5 , ease : "easeOut" } }
273272 >
274273 < StyledSponsorshipText >
0 commit comments