forked from abner/for-legacy-web
Fix ghost notifications on closed DMs.
Fix link warning not closing on open.
This commit is contained in:
1 parent
44fdee1214
commit
0ca99ddceb
2 files changed
+7
-3
No files matched your search
@@ -15,7 +15,10 @@ export function ExternalLinkModal({ onClose, link }: Props) {
|
||||
title={<Text id={"app.special.modals.external_links.title"} />}
|
||||
actions={[
|
||||
{
|
||||
onClick: ()=>{window.open(link, "_blank");},
|
||||
onClick: () => {
|
||||
window.open(link, "_blank");
|
||||
onClose();
|
||||
},
|
||||
confirmation: true,
|
||||
contrast: true,
|
||||
accent: true,
|
||||
|
||||
Reference in new issue
Block a user