Skip to content

Commit 963f3af

Browse files
committed
fix(desktop): update desktop download link
1 parent e1daec3 commit 963f3af

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

apps/desktop/layer/renderer/src/modules/user/ProfileButton.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { EllipsisHorizontalTextWithTooltip } from "@follow/components/ui/typogra
55
import { useMeasure } from "@follow/hooks"
66
import { useUserRole } from "@follow/store/user/hooks"
77
import { cn } from "@follow/utils/utils"
8-
import { repository } from "@pkg"
98
import type { FC } from "react"
109
import { memo, useCallback, useLayoutEffect, useState } from "react"
1110
import { useTranslation } from "react-i18next"
@@ -193,7 +192,7 @@ export const ProfileButton: FC<ProfileButtonProps> = memo((props) => {
193192
<DropdownMenuItem
194193
className="pl-3"
195194
onClick={() => {
196-
window.open(`${repository.url}/releases`)
195+
window.open("https://folo.is/download", "_blank", "noopener,noreferrer")
197196
}}
198197
icon={<i className="i-mgc-download-2-cute-re" />}
199198
>

0 commit comments

Comments
 (0)