Change typo to see CGU
This commit is contained in:
@@ -20,7 +20,7 @@ export default function CGUDialog({open, setOpen}) {
|
|||||||
setOpen(false)
|
setOpen(false)
|
||||||
}
|
}
|
||||||
|
|
||||||
const handleDownload = event => {
|
const handleClick = event => {
|
||||||
event.preventDefault()
|
event.preventDefault()
|
||||||
router.push(CGU_DOWNLOAD_LINK)
|
router.push(CGU_DOWNLOAD_LINK)
|
||||||
}
|
}
|
||||||
@@ -57,8 +57,8 @@ export default function CGUDialog({open, setOpen}) {
|
|||||||
</Typography>
|
</Typography>
|
||||||
</DialogContent>
|
</DialogContent>
|
||||||
<DialogActions>
|
<DialogActions>
|
||||||
<Button color='primary' onClick={handleDownload}>
|
<Button color='primary' onClick={handleClick}>
|
||||||
Télécharger
|
Voir au format pdf
|
||||||
</Button>
|
</Button>
|
||||||
<Button color='primary' onClick={handleClose}>
|
<Button color='primary' onClick={handleClose}>
|
||||||
Fermer
|
Fermer
|
||||||
|
|||||||
Reference in New Issue
Block a user