Skip to content

Commit 69bb4f4

Browse files
committed
Bugs fixed.
1 parent 66c36f5 commit 69bb4f4

File tree

11 files changed

+33
-19
lines changed

11 files changed

+33
-19
lines changed

app/package-lock.json

Lines changed: 25 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,8 @@
3939
"last 1 firefox version",
4040
"last 1 safari version"
4141
]
42+
},
43+
"devDependencies": {
44+
"@babel/plugin-proposal-private-property-in-object": "^7.21.11"
4245
}
4346
}

app/public/favicon.ico

12.8 KB
Binary file not shown.

app/public/logo192.png

-5.22 KB
Binary file not shown.

app/public/logo512.png

-9.44 KB
Binary file not shown.

app/public/manifest.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,6 @@
66
"src": "favicon.ico",
77
"sizes": "64x64 32x32 24x24 16x16",
88
"type": "image/x-icon"
9-
},
10-
{
11-
"src": "logo192.png",
12-
"type": "image/png",
13-
"sizes": "192x192"
14-
},
15-
{
16-
"src": "logo512.png",
17-
"type": "image/png",
18-
"sizes": "512x512"
199
}
2010
],
2111
"start_url": ".",

app/src/App.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ function App() {
2525
const handleLoginSuccess = (email) => {
2626
setEmailAddress(email); // Set the email address received from login
2727
setIsLoggedIn(true);
28-
2928
// If remember me is checked, store the email and rememberMe value in local storage
3029
localStorage.setItem('emailAddress', email);
3130
};

app/src/components/Header.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export default function Header({ onLoginSuccess }) {
3030
<button className='Header-signup-button' onClick={handleSignupClick}>Sign up</button>
3131
</div>
3232
{showLogin && <Login onLoginSuccess={onLoginSuccess} />}
33-
{showSignup && <Signup />}
33+
{showSignup && <Signup onLoginSuccess={onLoginSuccess} />}
3434
</div>
3535
{overlayVisible && <div className='back-blur' /> /* Render the overlay based on visibility */}
3636
</div>

app/src/components/Login.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export default function Login({ onLoginSuccess }) {
110110
return (
111111
<div className='Login'>
112112
{showSignup ? (
113-
<Signup onBackToLogin={handleBackToLogin} />
113+
<Signup onLoginSuccess={onLoginSuccess} />
114114
) : (
115115
<div className='Login-box'>
116116
<div className='Login-pattern'></div>

app/src/components/Panel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default function Panel({ email }) {
3737
</p>
3838
</div>
3939
</center>
40-
<Create userData={userData.userID} />
40+
<Create userData={userData.id} />
4141
</div>
4242
)}
4343
</div>

0 commit comments

Comments
 (0)