File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,9 @@ import { useMachineOS, usePreparedReleases } from '../hooks/download';
2828import * as css from '../styles/templates/download.module.css' ;
2929import * as grid from '../styles/grid.module.css' ;
3030
31+ // Set to false to hide the Donate character
32+ const showDonate = false ;
33+
3134const Download = ( { data } ) => {
3235 const intl = useIntl ( ) ;
3336 const releases = usePreparedReleases ( data . releases . nodes ) ;
@@ -81,7 +84,7 @@ const Download = ({ data }) => {
8184
8285 < div className = { classnames ( grid . container , grid . grid ) } >
8386 < div className = { classnames ( grid . col , css . headerContent ) } >
84- < Donate />
87+ { showDonate && < Donate /> }
8588 < h1 > { intl . formatMessage ( { id : 'downloadTitle' } ) } </ h1 >
8689 < p > { intl . formatMessage ( { id : 'downloadIntro' } ) } </ p >
8790 </ div >
You can’t perform that action at this time.
0 commit comments