File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -26,14 +26,18 @@ const useStyles = makeStyles(theme => ({
2626 } ,
2727} ) ) ;
2828
29+ const redirectToSource = ( ) => {
30+ window . location . assign ( 'https://github.com/dannyhp1/coderpad' )
31+ }
32+
2933export default function Header ( ) {
3034 const classes = useStyles ( )
3135
3236 return (
3337 < div className = { classes . root } >
3438 < AppBar position = 'static' className = { classes . bar } >
3539 < Toolbar >
36- < IconButton edge = 'start' className = { classes . menuButton } color = 'inherit' aria-label = 'menu' >
40+ < IconButton edge = 'start' className = { classes . menuButton } color = 'inherit' aria-label = 'menu' onClick = { redirectToSource } >
3741 < img className = { classes . logo } src = { logo } alt = 'Logo' />
3842 </ IconButton >
3943 < Typography variant = 'h5' className = { classes . title } >
You can’t perform that action at this time.
0 commit comments