Skip to content

Commit fc81546

Browse files
committed
fix: app upgrade toast open link should in new window
Signed-off-by: Innei <tukon479@gmail.com>
1 parent 4acb8e4 commit fc81546

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

apps/renderer/src/modules/upgrade/container.tsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,14 @@ const AppNotificationContainer: FC = () => {
5656
toast.success(
5757
<div>
5858
App is upgraded to{" "}
59-
<a href={`${repository.url}/releases/tag/${APP_VERSION}`}>{APP_VERSION}</a>, enjoy the new
60-
features! 🎉
59+
<a
60+
href={`${repository.url}/releases/tag/${APP_VERSION}`}
61+
target="_blank"
62+
rel="noreferrer"
63+
>
64+
{APP_VERSION}
65+
</a>
66+
, enjoy the new features! 🎉
6167
</div>,
6268
{
6369
duration: 10e8,

0 commit comments

Comments
 (0)