Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 577ca29f4a | |||
| 7cdb741c48 |
@@ -79,7 +79,7 @@ export function OAuthStep({ onNext, onBack, onSkip }: OAuthStepProps) {
|
||||
);
|
||||
|
||||
// Reusable function to load Claude profiles
|
||||
const loadClaudeProfiles = async () => {
|
||||
const loadClaudeProfiles = useCallback(async () => {
|
||||
setIsLoadingProfiles(true);
|
||||
setError(null);
|
||||
try {
|
||||
@@ -95,7 +95,7 @@ export function OAuthStep({ onNext, onBack, onSkip }: OAuthStepProps) {
|
||||
} finally {
|
||||
setIsLoadingProfiles(false);
|
||||
}
|
||||
};
|
||||
}, []);
|
||||
|
||||
// Load Claude profiles on mount
|
||||
useEffect(() => {
|
||||
@@ -231,7 +231,7 @@ export function OAuthStep({ onNext, onBack, onSkip }: OAuthStepProps) {
|
||||
|
||||
// Handle auth terminal success
|
||||
const handleAuthTerminalSuccess = useCallback(async (email?: string) => {
|
||||
console.warn('[OAuthStep] Auth success:', email);
|
||||
console.warn('[OAuthStep] Auth success');
|
||||
|
||||
// Close terminal immediately
|
||||
setAuthTerminal(null);
|
||||
|
||||
Reference in New Issue
Block a user