Skip to content

Make Language Bar on New Snippet page fetch actual languages #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 1, 2018

Conversation

lotrien
Copy link
Member

@lotrien lotrien commented Dec 31, 2017

Note: best to be merged before #23!

The very basics functionality were implement, now language bar recieves
actual list of languages and represents them to user

The very basics functionality were implement, now language bar recieves
actual list of languages and represents them to user
constructor() {
super();
this.state = { code: '' };
}
Copy link
Member

Choose a reason for hiding this comment

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

Better to separate two methods with an empty line.

class NewSnippet extends React.Component {
constructor() {
super();
this.state = { code: '' };
Copy link
Member

Choose a reason for hiding this comment

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

I think code is a little bit ambiguous. It's not necessary code.. Let's call it snippet instead or content.

@ikalnytskyi ikalnytskyi merged commit c3bbc3e into master Jan 1, 2018
@ikalnytskyi ikalnytskyi deleted the lang-bar branch January 1, 2018 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants