Typo
This commit is contained in:
@@ -130,7 +130,7 @@ function EkriTeks({canAutoTranslate, selectedTeks, setSelectedTeks}) {
|
|||||||
.then(awtisResponse => {
|
.then(awtisResponse => {
|
||||||
if (awtisResponse.data.user._id !== user._id) {
|
if (awtisResponse.data.user._id !== user._id) {
|
||||||
setLoading(false)
|
setLoading(false)
|
||||||
return setError({message: 'Opération non autorisé'})
|
return setError({message: 'Opération non autorisée'})
|
||||||
}
|
}
|
||||||
|
|
||||||
axios.put(`${API_URL}/teks/${currentTeksId}`, {
|
axios.put(`${API_URL}/teks/${currentTeksId}`, {
|
||||||
|
|||||||
Reference in New Issue
Block a user