mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-26 03:18:17 +01:00
Moves navigateTo to util
This commit is contained in:
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;
|
||||
}
|
||||
Reference in New Issue
Block a user