File tree 1 file changed +5
-1
lines changed 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,13 @@ import gplLogo from './img/gplv3-88x31.png';
13
13
import maeLogo from './img/logo_mae_ro_75pc.jpg' ;
14
14
import mineturLogo from './img/logomitc120.jpg' ;
15
15
import prompsitLogo from './img/prompsit150x52.png' ;
16
+ import { useLocation } from "react-router-dom" ;
16
17
17
18
const AboutModal = ( props : ModalProps ) : React . ReactElement => {
18
19
const { t } = useLocalization ( ) ;
20
+ const location = useLocation ( ) ;
21
+ const { pathname } = location ;
22
+ const splitLocation = pathname . split ( "/" ) ;
19
23
20
24
return (
21
25
< Modal { ...props } size = "lg" >
@@ -25,7 +29,7 @@ const AboutModal = (props: ModalProps): React.ReactElement => {
25
29
< Modal . Body >
26
30
< div dangerouslySetInnerHTML = { { __html : t ( 'What_Is_Apertium' ) } } />
27
31
< div dangerouslySetInnerHTML = { { __html : t ( 'Maintainer' ) } } style = { { paddingBottom : '2em' } } />
28
- < div dangerouslySetInnerHTML = { { __html : t ( 'More_Languages' ) } } style = { { paddingBottom : '2em' } } />
32
+ < div dangerouslySetInnerHTML = { { __html : t ( 'More_Languages' ) } } style = { { paddingBottom : '2em' , display : ( splitLocation [ 0 ] === "beta.apertium.org" ) ? "none" : "" } } />
29
33
30
34
< div className = "row lead" >
31
35
< Col md = "6" >
You can’t perform that action at this time.
0 commit comments