|
1 | 1 | import { AlertCircle } from "lucide-react"; |
2 | 2 | import { useEffect, useState } from "react"; |
3 | | -import { Form, Link as RemixLink, redirect, useSearchParams } from "react-router"; |
| 3 | +import { Form, redirect, useSearchParams } from "react-router"; |
4 | 4 |
|
5 | 5 | import Button from "~/components/Button"; |
6 | 6 | import Card from "~/components/Card"; |
7 | 7 | import Code from "~/components/Code"; |
8 | 8 | import Input from "~/components/Input"; |
9 | | -import Link from "~/components/Link"; |
| 9 | +import Link from "~/components/link"; |
10 | 10 | import { useLiveData } from "~/utils/live-data"; |
11 | 11 |
|
12 | 12 | import type { Route } from "./+types/page"; |
@@ -103,6 +103,7 @@ export default function Page({ loaderData, actionData }: Route.ComponentProps) { |
103 | 103 | Headplane is configured to use secure cookies, but this site is being served over an |
104 | 104 | insecure connection and login will not work correctly.{" "} |
105 | 105 | <Link |
| 106 | + isExternal |
106 | 107 | name="Headplane Common Issues" |
107 | 108 | to="https://headplane.net/configuration/common-issues#issue-logging-in-does-not-do-anything" |
108 | 109 | > |
@@ -138,15 +139,15 @@ export default function Page({ loaderData, actionData }: Route.ComponentProps) { |
138 | 139 | </Button> |
139 | 140 | </Form> |
140 | 141 | {isOidcConnectorEnabled ? ( |
141 | | - <RemixLink to="/oidc/start"> |
| 142 | + <Link to="/oidc/start"> |
142 | 143 | <Button |
143 | 144 | className="mt-2 w-full" |
144 | 145 | isDisabled={oidcErrorCodes.length > 0} |
145 | 146 | variant="light" |
146 | 147 | > |
147 | 148 | Single Sign-On |
148 | 149 | </Button> |
149 | | - </RemixLink> |
| 150 | + </Link> |
150 | 151 | ) : undefined} |
151 | 152 | </Card> |
152 | 153 | </div> |
|
0 commit comments