Skip to content

Commit 2c03cbd

Browse files
committed
feat: scroll to top components create
1 parent a1517bc commit 2c03cbd

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
'use client'
2+
3+
import { useScrollToTop } from '@/hooks/use-scroll-top'
4+
5+
export function ScrollToTop() {
6+
useScrollToTop()
7+
return null
8+
}

0 commit comments

Comments
 (0)