diff --git a/.gitignore b/.gitignore index 509ec38..de427c6 100644 --- a/.gitignore +++ b/.gitignore @@ -38,4 +38,5 @@ dist/ cypress/videos cypress/screenshots -.idea \ No newline at end of file +.idea +.env \ No newline at end of file diff --git a/pages/_app.tsx b/pages/_app.tsx index aee98ce..d4bb9e3 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -14,9 +14,6 @@ const GlobalStyle = createGlobalStyle((props: ThemeProps) => function MyApp({ Component, pageProps }: AppProps) { return (
- - - diff --git a/pages/index.tsx b/pages/index.tsx index 4269395..f9ba0d9 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -15,6 +15,7 @@ const Home: NextPage = () => { const [hasSession, setHasSession] = useState(false) const router = useRouter() const onLogout = LogoutLink() + const handleNavigation = (href: string) => () => router.push(href) useEffect(() => { ory @@ -60,62 +61,62 @@ const Home: NextPage = () => {
{ - const url = BASE_URL + href return (
@@ -117,7 +114,7 @@ export const DocsButton = ({ onClick={onClick} disabled={disabled} data-testid={testid} - href={url} + href={href} > {title}