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

Fix infinite refresh loop during previews #82

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

paulnta
Copy link

@paulnta paulnta commented Apr 6, 2021

This PR fixes: #66

If a page takes more than 3 seconds to load, we get stuck in an infinite refresh loop. To prevent this issue, we make sure to call reloadOrigin only once.

@@ -1,6 +1,6 @@
{
"name": "prismic-toolbar",
"version": "4.0.4",
"version": "4.0.5",
Copy link
Author

Choose a reason for hiding this comment

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

Not sure if I'm supposed to change this version manually. Also there is a different version in package.lock

"version": "4.0.2",

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.

Bug: Prismic toolbar new tab refresh loop.
1 participant