Skip to content
This repository was archived by the owner on Sep 8, 2021. It is now read-only.

Use destructuring to get props#142

Open
mrassili wants to merge 1 commit intogothinkster:masterfrom
mrassili:tiny-refactor
Open

Use destructuring to get props#142
mrassili wants to merge 1 commit intogothinkster:masterfrom
mrassili:tiny-refactor

Conversation

@mrassili
Copy link

@mrassili mrassili commented Oct 1, 2019

Tiny tweak :)

render() {
const email = this.props.email;
const password = this.props.password;
const { email, password } = this.props;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice change

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants