Browse Source

remove unused var

master
Stephanie Gredell 3 weeks ago
parent
commit
a601e6a788
  1. 2
      frontend/src/pages/RegisterPage.tsx

2
frontend/src/pages/RegisterPage.tsx

@ -59,7 +59,7 @@ export function RegisterPage() {
try { try {
const { authApi } = await import('../services/apiClient'); const { authApi } = await import('../services/apiClient');
const response: any = await authApi.register(username, password, dateOfBirth); await authApi.register(username, password, dateOfBirth);
// Registration endpoint returns tokens and user data, same as login // Registration endpoint returns tokens and user data, same as login
// Use login function to set user and token in auth context // Use login function to set user and token in auth context

Loading…
Cancel
Save