Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
IT2810 H21
Team 29
iWhatToWatch
Commits
93e645df
Commit
93e645df
authored
Nov 22, 2021
by
kavusi98
Browse files
(
#15
) minor fixes in loginmodal
parent
d01cb05f
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend/src/components/login/login.tsx
View file @
93e645df
...
...
@@ -33,9 +33,14 @@ const LoginModal:React.FC<SignInProps> = ({isLoginModalVisible, setIsModalVisibl
'
Quicksand-Regular
'
:
require
(
'
../../assets/fonts/Quicksand-Regular.ttf
'
),
})
const
handleLogOut
=
()
=>
{
logOut
()
setIsModalVisible
(
false
);
}
const
handleSubmit
=
()
=>
{
setUser
(
value
);
setIsModalVisible
;
setIsModalVisible
(
false
)
;
}
if
(
!
fontsLoaded
)
{
...
...
@@ -81,7 +86,7 @@ const LoginModal:React.FC<SignInProps> = ({isLoginModalVisible, setIsModalVisibl
>
<
Button
mode
=
"contained"
onPress
=
{
()
=>
l
ogOut
()
}
onPress
=
{
handleL
ogOut
}
color
=
"white"
labelStyle
=
{
{
fontFamily
:
'
Quicksand-Regular
'
,
...
...
Write
Preview
Supports
Markdown
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