[저스트 포유 초기 포커스]

- 저스트 포유 초기 포커스 생성
 - 정확한 포커스는 금요일 확인이후 수정 예정
This commit is contained in:
junghoon86.park
2025-11-20 15:50:44 +09:00
parent 9cc6246063
commit 90481f787d

View File

@@ -1,5 +1,6 @@
import React, {
useCallback,
useEffect,
useRef,
useState,
} from 'react';
@@ -120,6 +121,15 @@ const JustForYouTestPanel = ({ panelInfo, ...rest }) => {
[dispatch]
);
useEffect(()=>{
const timeOut = setTimeout(()=>{
Spotlight.focus("justforyouspotlight")
},100)
return(()=>{
clearTimeout(timeOut);
})
},[])
return (
<div className={css.container}>
<TPanel isTabActivated={false}>