Skip to content

TypeError: undefined is not an object (evaluating 'this.styles.topContainer') #1716

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 3 commits into from
Dec 10, 2021

Conversation

galihlprakoso
Copy link
Contributor

Description

TypeError: undefined is not an object (evaluating 'this.styles.topContainer')

generateStyles method is not called yet so when this code: this.styles.topContainer called in render method it caused error above.

Changelog

call generateStyles method on component's constructor.

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