Skip to content

Conversation

JordanMartinez
Copy link
Contributor

@JordanMartinez JordanMartinez commented Jun 18, 2022

Description of the change

Currently, try.purescript.org will run the main function twice when one uses TP.render =<< TP.withConsole <<< log "foo"

Updating es-module-shims to the next version fixes this on Firefox when I test the client against the production server.


Checklist:

  • Added the change to the changelog's "Unreleased" section with a reference to this PR (e.g. "- Made a change (#0 by @)")
  • Linked any existing issues or proposals that this pull request should close
  • Updated or added relevant documentation
  • Added a test for the contribution (if applicable)

@JordanMartinez
Copy link
Contributor Author

Here's a link to the release: https://github.com/guybedford/es-module-shims/releases/tag/1.5.6

@JordanMartinez JordanMartinez changed the title Fix double main call by updating es-shims to 1.5.6 Fix double main call by updating es-module-shims to 1.5.6 Jun 18, 2022
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