Commit 6a84dfb1 authored by Gijs Hendriksen's avatar Gijs Hendriksen

Merge branch '114-map-causes-crash' into 'master'

Resolve "Map causes crash"

Closes #114

See merge request !392
parents ada68dcb 4863eb18
......@@ -18,7 +18,7 @@ const mapDispatchToProps = {
register: registrationActions.register,
cancel: registrationActions.cancel,
fields: registrationActions.retrieveFields,
openMaps: location => this.openUrl(`https://maps.${Platform.OS === 'ios' ? 'apple' : 'google'}.com/maps?daddr=${location}`),
openMaps: location => navigationActions.openWebsite(`https://maps.${Platform.OS === 'ios' ? 'apple' : 'google'}.com/maps?daddr=${location}`),
openUrl: navigationActions.openWebsite,
retrievePizzaInfo: pizzaActions.retrievePizzaInfo,
openAdmin: eventActions.admin,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment