diff --git a/front/src/common-app/components/appbar/appbar.component.tsx b/front/src/common-app/components/appbar/appbar.component.tsx index af46b06..4517ca1 100644 --- a/front/src/common-app/components/appbar/appbar.component.tsx +++ b/front/src/common-app/components/appbar/appbar.component.tsx @@ -1,13 +1,19 @@ import React from 'react'; import { ReactComponent as CodePasterLogo } from 'assets/logo.svg'; +import IconButton from '@material-ui/core/IconButton'; import * as classes from './appbar.styles'; +import { useHistory } from 'react-router-dom'; export const AppbarComponent: React.FC = () => { const { appbarContainer, logo } = classes; + const history = useHistory(); + const handleClick = () => history.push('/'); return (