From c8b131e33e54ef11e09f22efd83e9e83412996ce Mon Sep 17 00:00:00 2001 From: realtradam Date: Mon, 17 Jun 2024 22:34:50 -0400 Subject: change login to use new tab --- src/components/Layout.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/components/Layout.tsx') diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index fe961cf..960e112 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -5,13 +5,16 @@ export type userData = { userData: { name: string } }; export default function Layout ({userData}: userData) { + const loginLink = () => { + window.open(`https://github.com/login/oauth/authorize?client_id=${import.meta.env.VITE_GITHUB_CLIENTID}`); + }; return ( <>