about summary refs log tree commit diff
path: root/src/platform/urls.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/platform/urls.tsx')
-rw-r--r--src/platform/urls.tsx9
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()
-  }
-}