Skip to content

Commit 43c5e6c

Browse files
committed
chore: prettier code formatting
1 parent 40a0a06 commit 43c5e6c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/components/HeroHeader/HeroHeader.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ import MobileHero from './MobileHero';
44

55
export default function HeroHeader() {
66
const [screenWidth, setScreenWidth] = useState<number | null>(() =>
7-
typeof window !== 'undefined' ? window.innerWidth : null,
7+
typeof window !== 'undefined' ? window.innerWidth : null
88
);
99

1010
const breakpoint = 768;
1111

1212
useEffect(() => {
1313
const handleResize = () => setScreenWidth(window.innerWidth);
14-
14+
1515
window.addEventListener('resize', handleResize);
16-
16+
1717
return () => {
1818
window.removeEventListener('resize', handleResize);
1919
};

0 commit comments

Comments
 (0)