Moves navigateTo to util

This commit is contained in:
Josh Perez 2021-09-21 16:45:25 -04:00 committed by GitHub
parent b64908d01d
commit 1d2fcde49f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 23 additions and 20 deletions

View 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;
}