This commit is contained in:
黄心宇 2024-01-31 15:28:06 +08:00
parent 51d1a143b8
commit 8d2c54e0fc
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ function Projects(props) {
useEffect(()=>{
if(sliderRef && projectList && projectList.length > 2){
if(sliderRef && sliderRef.current && projectList && projectList.length > 2){
sliderRef.current.slickNext()
}
},[sliderRef])