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';
28
28
import * as css from '../styles/templates/download.module.css' ;
29
29
import * as grid from '../styles/grid.module.css' ;
30
30
31
+ // Set to false to hide the Donate character
32
+ const showDonate = false ;
33
+
31
34
const Download = ( { data } ) => {
32
35
const intl = useIntl ( ) ;
33
36
const releases = usePreparedReleases ( data . releases . nodes ) ;
@@ -81,7 +84,7 @@ const Download = ({ data }) => {
81
84
82
85
< div className = { classnames ( grid . container , grid . grid ) } >
83
86
< div className = { classnames ( grid . col , css . headerContent ) } >
84
- < Donate />
87
+ { showDonate && < Donate /> }
85
88
< h1 > { intl . formatMessage ( { id : 'downloadTitle' } ) } </ h1 >
86
89
< p > { intl . formatMessage ( { id : 'downloadIntro' } ) } </ p >
87
90
</ div >
You can’t perform that action at this time.
0 commit comments