diff --git a/frontend/src/pages/Friends.jsx b/frontend/src/pages/Friends.jsx
index 2539c79..f2eda87 100644
--- a/frontend/src/pages/Friends.jsx
+++ b/frontend/src/pages/Friends.jsx
@@ -198,7 +198,7 @@ export default function Friends() {
className="btn btn-primary btn-sm"
onClick={() => handleSendRequest(user.id)}
disabled={sending === user.id}
- style={{ flexShrink: 0 }}
+ style={{ flexShrink: 0, width: 'auto' }}
>
{sending === user.id ? 'Sending...' : 'Add Friend'}
@@ -263,8 +263,8 @@ export default function Friends() {
>
{removing === friend.id ? 'Removing...' : 'Remove'}
-
{friend.total_points} points
+ {friend.total_points} points
))}
{challengeFriends.length > 0 && (
@@ -296,8 +296,8 @@ export default function Friends() {
>
{sending === friend.id ? 'Sending...' : friend.friendship_status === 'pending' ? 'Pending' : 'Add Friend'}
- {friend.total_points} points
+ {friend.total_points} points
))}
>
diff --git a/frontend/src/pages/Login.jsx b/frontend/src/pages/Login.jsx
index daa1b9c..9b50489 100644
--- a/frontend/src/pages/Login.jsx
+++ b/frontend/src/pages/Login.jsx
@@ -6,6 +6,7 @@ import { useAuth } from '../AuthContext';
export default function Login() {
const [email, setEmail] = useState('');
const [password, setPassword] = useState('');
+ const [showPassword, setShowPassword] = useState(false);
const [loading, setLoading] = useState(false);
const { login } = useAuth();
const navigate = useNavigate();
@@ -42,13 +43,34 @@ export default function Login() {