Skip to content

Commit

Permalink
Updated example
Browse files Browse the repository at this point in the history
  • Loading branch information
Théo mathieu committed Mar 19, 2016
1 parent a40fd43 commit 638d5f4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions example/mobile/app/Routes/Status.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import React, {
TouchableHighlight
} from 'react-native';

import Meteor, { connectMeteor } from 'react-native-meteor';
import Meteor, { Accounts, connectMeteor } from 'react-native-meteor';

import Button from 'react-native-button';

Expand All @@ -35,7 +35,8 @@ export default class Status extends Component {
});
}
createUser() {
Meteor.createUser({
console.log(Accounts);
Accounts.createUser({
username: 'mokto',
password: '123456'
}, (err, res)=>{
Expand Down

0 comments on commit 638d5f4

Please sign in to comment.