File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -438,6 +438,7 @@ export default function DrawerAppBar(): React.ReactElement {
438438 < Button
439439 sx = { { fontFamily : fontFamily . secondary } }
440440 href = { SIGN_IN_TARGET }
441+ component = { Link }
441442 >
442443 Login
443444 </ Button >
Original file line number Diff line number Diff line change 33import { Button , Grid , Typography } from '@mui/material' ;
44import { ChevronLeft } from '@mui/icons-material' ;
55import { useTranslations } from 'next-intl' ;
6- import { useRouter } from '../../../../i18n/navigation' ;
6+ import { Link , useRouter } from '../../../../i18n/navigation' ;
77
88interface Props {
99 feedDataType : string ;
@@ -43,12 +43,18 @@ export default function FeedNavigationControls({
4343 } ,
4444 } }
4545 >
46- < Button variant = 'text' href = '/feeds' className = 'inline' >
46+ < Button
47+ variant = 'text'
48+ component = { Link }
49+ href = '/feeds'
50+ className = 'inline'
51+ >
4752 { t ( 'feeds' ) }
4853 </ Button >
4954 /
5055 < Button
5156 variant = 'text'
57+ component = { Link }
5258 href = { `/feeds?${ feedDataType } =true` }
5359 className = 'inline'
5460 >
You can’t perform that action at this time.
0 commit comments