diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-02-24 17:47:53 -0600 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2023-02-24 17:47:53 -0600 |
commit | 55a8a8fa4c6c025c12f13afa69df493fe06f1cc9 (patch) | |
tree | 1c8e4e60a9d194b5d46e2217f3e24c0277726bdb /src/platform/urls.tsx | |
parent | dcd396153cf68fc1947b39eaac90e1b3866c6a25 (diff) | |
download | voidsky-55a8a8fa4c6c025c12f13afa69df493fe06f1cc9.tar.zst |
Sync browser navigation with app
Diffstat (limited to 'src/platform/urls.tsx')
-rw-r--r-- | src/platform/urls.tsx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/platform/urls.tsx b/src/platform/urls.tsx index f544262d7..fd844d933 100644 --- a/src/platform/urls.tsx +++ b/src/platform/urls.tsx @@ -1,5 +1,4 @@ import {Linking} from 'react-native' -import {createBrowserHistory, createMemoryHistory} from 'history' import {isNative, isWeb} from './detection' export async function getInitialURL(): Promise<string | undefined> { @@ -24,11 +23,3 @@ export function clearHash() { window.location.hash = '' } } - -export function getHistory() { - if (isWeb) { - return createBrowserHistory() - } else { - return createMemoryHistory() - } -} |