Skip to content

Commit 1c031e3

Browse files
committed
heroku 22 update
1 parent f2f2b68 commit 1c031e3

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

public/index.html

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@
66

77
<meta charset="utf-8" />
88
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico" />
9-
<meta
10-
name="viewport"
11-
content="width=device-width, initial-scale=1, shrink-to-fit=no"
12-
/>
9+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
1310
<meta name="theme-color" content="#000000" />
1411
<!--
1512
manifest.json provides metadata used when your web app is installed on a

src/images/logo.png

-7.86 KB
Binary file not shown.

src/redux/actions/userActions.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const loginUser = (user, callback) => {
2424
payload: user.current
2525
})
2626

27-
callback()
27+
2828
})
2929
.catch((error) => alert('Invalid Email or Password'));
3030

@@ -75,7 +75,7 @@ export const fetchUser = () => {
7575
.then(users => {
7676
dispatch({
7777
type: 'SET_USER',
78-
payload: users
78+
payload: users.current
7979
})
8080
})
8181
.catch(err => err)

0 commit comments

Comments
 (0)