Skip to content
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

Is it possible to have two "export default" in the same class? #27

Open
h0ttz opened this issue Sep 29, 2016 · 2 comments
Open

Is it possible to have two "export default" in the same class? #27

h0ttz opened this issue Sep 29, 2016 · 2 comments
Labels

Comments

@h0ttz
Copy link

h0ttz commented Sep 29, 2016

There are two "exports default" in the file "login-flow/js/components/App.react.js"

"export default App;" line 26

"export default connect(select)(App);" line 38

Is it correct ?

@mxstbr
Copy link
Owner

mxstbr commented Sep 29, 2016

No, that doesn't work. It should be export App on line 26

@mxstbr mxstbr added the bug label Sep 29, 2016
@komkanit
Copy link

Can I submit PR on this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants