Skip to content

Commit c464614

Browse files
committed
chore: added pointer cursor
1 parent af89a93 commit c464614

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

components/BackToTop.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export const BackToTop = () => {
3838
<button
3939
onClick={scrollToTop}
4040
className={`fixed right-4 bottom-4 z-50 rounded-full bg-blue-500 p-2 text-white shadow-lg ${
41-
isVisible ? 'animate-fade-in opacity-100' : 'animate-fade-out opacity-0'
41+
isVisible ? 'animate-fade-in opacity-100 hover:cursor-pointer' : 'animate-fade-out opacity-0'
4242
}`}
4343
aria-label='Back to top'
4444
>

0 commit comments

Comments
 (0)