diff --git a/src/components/ui/common/FloatBtn.tsx b/src/components/ui/common/FloatBtn.tsx
index 766f236..74aa3d0 100644
--- a/src/components/ui/common/FloatBtn.tsx
+++ b/src/components/ui/common/FloatBtn.tsx
@@ -5,9 +5,16 @@ import { usePathname } from 'next/navigation'
export default function FloatBtn() {
const pathname = usePathname()
+ const scrollToTop = () => {
+ window.scrollTo({
+ top: 0,
+ behavior: 'smooth',
+ })
+ }
+
if (pathname === '/login' || pathname === '/') {
return null
}
- return
+ return
}