Skip to content

Commit

Permalink
fixed scroll issue
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexBeesley committed May 28, 2023
1 parent 0cbff80 commit 4cc21cb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Pages/Home.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
import { useEffect } from 'react';
import Styles from '../Styles/main.module.scss'
import Card from '../Components/card'

function Home() {

useEffect(() => {
window.scrollTo(0, 0);
}, []);

return (
<>
<div className={Styles.title}>
Expand Down

0 comments on commit 4cc21cb

Please sign in to comment.