diff --git a/src/components/molecules/Hero/Hero.tsx b/src/components/molecules/Hero/Hero.tsx index 5858a79..0e7590a 100644 --- a/src/components/molecules/Hero/Hero.tsx +++ b/src/components/molecules/Hero/Hero.tsx @@ -5,12 +5,6 @@ import { EmailIconLink, GitHubIconLink, LinkedInIconLink } from 'components/atom import { ExpandMore } from '@mui/icons-material' const Hero = (props: { scrollTarget?: React.ForwardedRef }) => { - const executeScroll = () => { - if (typeof props.scrollTarget !== 'undefined') { - const target = props.scrollTarget as React.MutableRefObject - target.current?.scrollIntoView() - } - } return ( }) = {props.scrollTarget && ( - + (props.scrollTarget as React.MutableRefObject).current?.scrollIntoView()} + sx={{ position: 'absolute', p: 1, bottom: 3 }}> )}