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

Update index.js #1029

Merged
merged 1 commit into from
Apr 8, 2020
Merged

Update index.js #1029

merged 1 commit into from
Apr 8, 2020

Conversation

raftar2097
Copy link
Contributor

@raftar2097 raftar2097 commented Mar 30, 2020

Fixes #1019
Related to # Replacing "require" with "import"

Description of proposed changes

What is the goal of this pull request? What does this pull request change?

Related issue(s)

Fixes #
Related to #

Testing

What steps should be taken to test the changes you've proposed?
If you added or changed behavior in the codebase, did you update the tests, or do you need help with this?

Thank you for contributing to Nextstrain!

Replaced "require" with "import"
@jameshadfield
Copy link
Member

Thanks @raftar2097 -- I think this should be absolutely fine but I want to test a bit over the coming days as I have a vague memory that this is/was needed for react hot-reloading functionality (used via auspice develop). Might be completely wrong about this.

@jameshadfield jameshadfield merged commit ceb4be6 into nextstrain:master Apr 8, 2020
@jameshadfield
Copy link
Member

Tested this using react-hot-reloader functionality and it all seems to still work. Thanks!

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.

Unnecessary require statement
2 participants