File tree Expand file tree Collapse file tree 4 files changed +13
-8
lines changed Expand file tree Collapse file tree 4 files changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -50,8 +50,13 @@ const PopoverContent = () => {
5050 </ StyledMenuList >
5151 < Divider className = "m-0" />
5252 </ StyledMenuProfile >
53- < Link to = "/" className = "d-none d-md-block" >
54- < Typography . Link onClick = { handleClick } > Выйти</ Typography . Link >
53+ < Link
54+ to = "/"
55+ className = "d-none d-md-block"
56+ component = { Typography . Link }
57+ onClick = { handleClick }
58+ >
59+ Выйти
5560 </ Link >
5661 </ div >
5762 </ div >
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ export const LinkToDeleted = () => {
1010 if ( ! REACT_APP_FEATURE_DELETE_QUESTION || ! token ) return null ;
1111
1212 return (
13- < Link to = "/?deletedOnly=true" className = "d-none d-md-block" >
14- < Typography . Link > Корзина</ Typography . Link >
13+ < Link to = "/?deletedOnly=true" className = "d-none d-md-block" component = { Typography . Link } >
14+ Корзина
1515 </ Link >
1616 ) ;
1717} ;
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ export const LinkToFavorites = () => {
1010 if ( ! REACT_APP_FEATURE_FAVORITES || ! token ) return null ;
1111
1212 return (
13- < Link to = "/?favoritesOnly=true" className = "d-none d-md-block" >
14- < Typography . Link > Сохраненные</ Typography . Link >
13+ < Link to = "/?favoritesOnly=true" className = "d-none d-md-block" component = { Typography . Link } >
14+ Сохраненные
1515 </ Link >
1616 ) ;
1717} ;
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ import { Typography } from 'antd';
44
55const LinkToProfilePage = ( ) => {
66 return (
7- < Link to = "/profile" >
8- < Typography . Link > Профиль</ Typography . Link >
7+ < Link to = "/profile" component = { Typography . Link } >
8+ Профиль
99 </ Link >
1010 ) ;
1111} ;
You can’t perform that action at this time.
0 commit comments