Skip to content

Commit

Permalink
chore: remove extra transition class
Browse files Browse the repository at this point in the history
  • Loading branch information
BostonRohan committed Aug 23, 2024
1 parent 460ee35 commit 6e9a401
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/component/ScrollToTop.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default function ScrollToTop() {

return (
<button
className={`fixed bottom-6 right-6 z-50 flex h-10 w-10 border border-[#434343]/75 rounded-lg cursor-pointer items-center justify-center hover:bg-stone-300/10 transition-opacity duration-500 rounded-full shadow-lg transition-all ${showScrollToTop ? "opacity-100" : "opacity-0"}`}
className={`fixed bottom-6 right-6 z-50 flex h-10 w-10 border border-[#434343]/75 rounded-lg cursor-pointer items-center justify-center hover:bg-stone-300/10 transition-opacity duration-500 rounded-full shadow-lg ${showScrollToTop ? "opacity-100" : "opacity-0"}`}
onClick={scrollToTop}
>
<ChevronUp className="h-5 w-5 opacity-80" />
Expand Down

0 comments on commit 6e9a401

Please sign in to comment.