https://checkmate.social
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix login

jcalabro ad2fb71c 618ea252

+6 -4
+1 -1
client/src/components/auth/AuthProvider.tsx
··· 126 126 }); 127 127 // This line is never reached — browser redirects to the PDS 128 128 } catch (err) { 129 - // Only fires if user cancels or navigates back 130 129 if (err instanceof Error && err.message !== 'The user aborted a request.') { 131 130 setError(err.message); 132 131 } 132 + throw err; // Re-throw so the caller can react (e.g. reset submitting state) 133 133 } 134 134 }, 135 135 [client]
+2
client/src/components/auth/LoginScreen.tsx
··· 21 21 setIsSubmitting(true); 22 22 try { 23 23 await login(trimmed); 24 + // On success the browser redirects to the PDS — this line is never reached. 24 25 } catch { 26 + // Error is already surfaced via auth context; just reset local UI state. 25 27 setIsSubmitting(false); 26 28 } 27 29 };
+3 -3
client/src/components/lobby/LobbyScreen.tsx
··· 2 2 * LobbyScreen — matchmaking interface. 3 3 * 4 4 * Shows four time-control options (1', 3', 5', 10') for real matchmaking, 5 - * each with its own queue pool, and a "Play vs Self" option for untimed solo 5 + * each with its own queue pool, and a "Play with Yourself" option for untimed solo 6 6 * play. While searching, displays an animated indicator with the selected 7 7 * time control and a cancel option. 8 8 * ··· 105 105 ))} 106 106 </div> 107 107 108 - {/* Play vs Self — secondary option */} 108 + {/* Play with Yourself — secondary option */} 109 109 <button 110 110 onClick={createSoloGame} 111 111 disabled={!connected} 112 112 className="mt-3 w-full rounded-xl border border-wood-600 bg-wood-800 px-5 py-3 text-sm text-wood-300 shadow-xl transition-colors hover:border-wood-500 hover:bg-wood-700 hover:text-wood-100 disabled:cursor-not-allowed disabled:opacity-40" 113 113 > 114 - Play vs Self 114 + Play with Yourself 115 115 </button> 116 116 117 117 {!connected && (