WIP fa513300
Steve · 2024-09-20 06:49 1 file(s) · +5 −1
src/components/SignInButton.tsx +5 −1
2 2
3 3
export function SignInButton() {
4 4
	async function signInWithGithub() {
5 -
		await supabase.auth.signInWithOAuth({
5 +
		const { data, error } = await supabase.auth.signInWithOAuth({
6 6
			provider: "github",
7 7
		});
8 +
		if (error) {
9 +
			console.log(error);
10 +
		}
11 +
		console.log(data);
8 12
	}
9 13
10 14
	return (