Skip to content

Commit 73d13c9

Browse files
committed
Update handlePageHeight to arrow function
1 parent cb0e689 commit 73d13c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/Contact/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const Contact = () => {
1111
{ name: 'Home', href: '/home' },
1212
{ name: 'Contact', href: '/about/contact' },
1313
];
14-
const handlePageHeight = function () {
14+
const handlePageHeight = () => {
1515
window.parent.scrollTo(0, 0);
1616
};
1717
return (

0 commit comments

Comments
 (0)