Moves navigateTo to util
This commit is contained in:
parent
b64908d01d
commit
1d2fcde49f
5 changed files with 23 additions and 20 deletions
6
ts/util/openLinkInWebBrowser.ts
Normal file
6
ts/util/openLinkInWebBrowser.ts
Normal file
|
@ -0,0 +1,6 @@
|
|||
// Copyright 2021 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
export function openLinkInWebBrowser(url: string): void {
|
||||
window.location.href = url;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue