Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Rede De Mentores
Frontend
Commits
5067e813
Unverified
Commit
5067e813
authored
Jun 29, 2020
by
Larissa Martins
Committed by
GitHub
Jun 29, 2020
Browse files
Merge pull request #41 from 2020-1-RDM/fix-olho-msg
Hotfix
parents
c0ca5b5c
d43c374e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/pages/mentor/Mentor.jsx
View file @
5067e813
...
...
@@ -53,8 +53,8 @@ function Mentor() {
allMentorias
[
i
].
data
.
isVisible
=
!
allMentorias
[
i
].
data
.
isVisible
;
setMentorias
(
allMentorias
);
let
message
;
if
(
allMentorias
[
i
].
data
.
isVisible
)
message
=
'
Mentoria
não está mais
disponível para os mentorandos!
'
;
else
message
=
'
Mentoria
está
disponível para os mentorandos!
'
;
if
(
allMentorias
[
i
].
data
.
isVisible
)
message
=
'
Mentoria
está
disponível para os mentorandos!
'
;
else
message
=
'
Mentoria
não está mais
disponível para os mentorandos!
'
;
enqueueSnackbar
(
message
,
{
variant
:
'
success
'
,
autoHideDuration
:
2500
});
},
).
catch
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment