Merge pull request 'cont.' (#621) from Eeeros/forgeplus-react:gitlink_ssr_test into gitlink_ssr

1
This commit is contained in:
Eeeros 2024-01-31 15:30:49 +08:00
commit 344b8fb612
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])