Skip to content

Commit c2568d7

Browse files
committed
Changes made as per review
1 parent 07116d8 commit c2568d7

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/pages/Contact/index.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,9 @@ const Contact = () => {
3636
{ name: 'Home', href: '/home' },
3737
{ name: 'Contact', href: '/about/contact' },
3838
];
39-
const handlePageheight = function()
40-
{
41-
window.parent.scrollTo(0,0)
42-
}
39+
const handlePageHeight = function () {
40+
window.parent.scrollTo(0, 0);
41+
};
4342
return (
4443
<Box>
4544
<Box className='boxBackground'>
@@ -65,7 +64,7 @@ const Contact = () => {
6564
frameBorder='0'
6665
marginHeight='0'
6766
marginWidth='0'
68-
onLoad={handlePageheight}
67+
onLoad={handlePageHeight}
6968
>
7069
Loading…
7170
</CardMedia>

0 commit comments

Comments
 (0)