Skip to content

Commit

Permalink
fix(rn): RequestValidation component
Browse files Browse the repository at this point in the history
Signed-off-by: Godefroy Ponsinet <godefroy.ponsinet@outlook.com>
  • Loading branch information
90dy committed Sep 12, 2018
1 parent 7970aeb commit ec70e87
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions client/react-native/Makefile
Expand Up @@ -30,7 +30,7 @@ $(ROOT)/node_modules $(DEPS): %/node_modules: %/package.json
cd $(dir $@) && yarn

.PHONY: $(DIRS)
$(DIRS): %: %/node_modules $(ROOT)/node_modules
$(DIRS): %/node_modules $(ROOT)/node_modules

.PHONY: android
android: mobile
Expand All @@ -50,7 +50,8 @@ $(FCLEAN):
$(RE): %.re: %.fclean %/node_modules

$(START): %.start: %
cd $< && yarn start
# cd $< && yarn start
echo $@

$(BUILD): %.build: %
cd $< && yarn build
Expand Up @@ -10,7 +10,7 @@ export default class RequestValidation extends PureComponent {
acceptRequest = async () => {
try {
const contactID = this.props.navigation.getParam('id')
await mutations.contactRequestAccepted.commit({ contactID })
await mutations.contactAcceptRequest.commit({ contactID })
this.props.navigation.goBack(null)
} catch (err) {
console.error(err)
Expand Down

0 comments on commit ec70e87

Please sign in to comment.