mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-06 17:11:55 +00:00
Fix ghost notifications on closed DMs.
Fix link warning not closing on open.
This commit is contained in:
@@ -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