added listings

This commit is contained in:
2025-12-26 20:01:28 -05:00
parent 06a5ff98d7
commit f08432e417
17 changed files with 2200 additions and 101 deletions

View File

@@ -34,7 +34,7 @@
// Assuming the backend returns a token or some success indicator
// Store the token in localStorage for authentication checks
if (data.token) {
localStorage.setItem('auth_token', data.token);
localStorage.setItem('token', data.token);
}
// Store the user object in localStorage
localStorage.setItem('user', JSON.stringify(data.user));