Adapt Navigasyon component to nextjs 13 and change soumet route to pwopose

This commit is contained in:
2023-07-22 13:43:05 +04:00
parent 780b4ce313
commit a0f301fcff
4 changed files with 135 additions and 27 deletions
+1 -6
View File
@@ -287,7 +287,7 @@ function EkriTeks({canAutoTranslate, selectedTeks, setSelectedTeks}) {
<StyledContainer maxWidth='sm'>
<Box sx={{textAlign: 'center', marginBottom: 2}}>
<Typography display='inline' variant='h6' component='h1'>
Soumettre une parole
Proposer une parole
</Typography>
</Box>
<form noValidate autoComplete='off'>
@@ -424,11 +424,6 @@ function EkriTeks({canAutoTranslate, selectedTeks, setSelectedTeks}) {
)
}
EkriTeks.defaultProps = {
selectedTeks: null,
canAutoTranslate: null
}
EkriTeks.propTypes = {
canAutoTranslate: PropTypes.bool,
selectedTeks: PropTypes.object,