Skip to content

Commit

Permalink
unused state
Browse files Browse the repository at this point in the history
  • Loading branch information
KillerBOSS2019 committed Nov 3, 2024
1 parent 9380da7 commit 45a403a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default function Home() {
<Sponsors />
</main>
<Footer />
<ScrollToTopButton setMobileMenuOpen={setMobileMenuOpen} mobileMenuOpen={mobileMenuOpen} />
<ScrollToTopButton setMobileMenuOpen={setMobileMenuOpen} />
</div>
);
}
2 changes: 1 addition & 1 deletion src/app/scroll_to_top.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useEffect, useState } from 'react';
import { HeaderProps } from './header/header';

function ScrollToTopButton({ setMobileMenuOpen, mobileMenuOpen }: HeaderProps){
function ScrollToTopButton({ setMobileMenuOpen }: HeaderProps){
const [isVisible, setIsVisible] = useState(false);

useEffect(() => {
Expand Down

0 comments on commit 45a403a

Please # to comment.