Commit 4863eb18 authored by Dirk Doesburg's avatar Dirk Doesburg Committed by Gijs Hendriksen

Fixed events map crash

parent ada68dcb
......@@ -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