We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 970aced commit d1975c2Copy full SHA for d1975c2
apps/renderer/src/modules/user/LoginButton.tsx
@@ -2,7 +2,6 @@ import { UserArrowLeftIcon } from "@follow/components/icons/user.jsx"
2
import { ActionButton } from "@follow/components/ui/button/index.js"
3
import type { FC } from "react"
4
import { useTranslation } from "react-i18next"
5
-import { Link } from "react-router"
6
7
import { LoginModalContent } from "~/modules/auth/LoginModalContent"
8
@@ -37,5 +36,5 @@ export const LoginButton: FC<LoginProps> = (props) => {
37
36
<UserArrowLeftIcon className="size-4" />
38
</ActionButton>
39
)
40
- return method === "modal" ? Content : <Link to="/login">{Content}</Link>
+ return method === "modal" ? Content : <a href="/login">{Content}</a>
41
}
0 commit comments