From 55a8a8fa4c6c025c12f13afa69df493fe06f1cc9 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Fri, 24 Feb 2023 17:47:53 -0600 Subject: Sync browser navigation with app --- src/platform/urls.tsx | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/platform/urls.tsx') 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 { @@ -24,11 +23,3 @@ export function clearHash() { window.location.hash = '' } } - -export function getHistory() { - if (isWeb) { - return createBrowserHistory() - } else { - return createMemoryHistory() - } -} -- cgit 1.4.1