✨ (transaction) possibility to change location
This commit is contained in:
@@ -78,9 +78,3 @@ export const toHex = (text: string): string => {
|
||||
.join('')
|
||||
)
|
||||
}
|
||||
|
||||
export const getCurrentPosition = (options = {}): Promise<Position> => {
|
||||
return new Promise((resolve, reject) => {
|
||||
navigator.geolocation.getCurrentPosition(resolve, reject, options)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user