• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jcubic / 10xDevs / 18840571689

27 Oct 2025 12:14PM UTC coverage: 23.648% (-1.9%) from 25.594%
18840571689

push

github

jcubic
update workflow

1783 of 8857 branches covered (20.13%)

Branch coverage included in aggregate %.

761 of 1901 relevant lines covered (40.03%)

1814.76 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/components/GitHubSignInButton.tsx
1
'use client';
2

3
import { Button } from '@chakra-ui/react';
4
import { useState } from 'react';
5
import { authClient } from '@/lib/auth-client';
6

7
export default function GitHubSignInButton() {
8
  const [isLoading, setIsLoading] = useState(false);
×
9

10
  const handleGitHubSignIn = async () => {
×
11
    try {
×
12
      setIsLoading(true);
×
13
      await authClient.signIn.social({
×
14
        provider: 'github',
15
        callbackURL: '/'
16
      });
17
    } catch (error) {
18
      console.error('GitHub sign-in error:', error);
×
19
      setIsLoading(false);
×
20
    }
21
  };
22

23
  return (
×
24
    <Button
25
      onClick={handleGitHubSignIn}
26
      disabled={isLoading}
27
      size="lg"
28
      bg="gray.900"
29
      color="white"
30
      _hover={{
31
        bg: 'gray.700'
32
      }}
33
      px={8}
34
      py={6}
35
      width="full"
36
    >
37
      {isLoading ? 'Signing in...' : 'Continue with GitHub'}
×
38
    </Button>
39
  );
40
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc