Skip to content

Commit 899e6aa

Browse files
committed
tweak link stuff
1 parent 616d8ab commit 899e6aa

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

site/src/components/CreateUserForm/CreateUserForm.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ import { hasApiFieldErrors, isApiError } from "api/errors"
1616
import MenuItem from "@mui/material/MenuItem"
1717
import { makeStyles } from "@mui/styles"
1818
import { Theme } from "@mui/material/styles"
19-
import { Link } from "@mui/material"
20-
import { Link as RouterLink } from "react-router-dom"
19+
import { Link } from "@mui/material/Link"
2120

2221
export const Language = {
2322
emailLabel: "Email",
@@ -49,7 +48,6 @@ export const authMethodLanguage = {
4948
<>
5049
Disable authentication for this user (See the{" "}
5150
<Link
52-
component={RouterLink}
5351
target="_blank"
5452
rel="noopener"
5553
to="https://coder.com/docs/v2/latest/admin/auth#disable-built-in-authentication"

0 commit comments

Comments
 (0)