Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- handleLogin = () => {
- Meteor.loginWithPassword(this.state.loginField,this.state.passwordField,(error)=>{
- if (!error) {
- Meteor.subscribe('customer')
- let data = Meteor.collection('customers').findOne();
- console.log(data);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement