We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20fb6f8 commit 11613f1Copy full SHA for 11613f1
packages/common/src/components/Preview/index.tsx
@@ -480,8 +480,10 @@ class BasePreview extends React.Component<Props, State> {
480
};
481
482
handleRefresh = () => {
483
+ // Changed this from prioritizing URL. This is to make "smooth forking" work,
484
+ // but would expect the addressbar url to decide what is refreshed anyways?
485
const { urlInAddressBar, url } = this.state;
- const urlToSet = url || urlInAddressBar;
486
+ const urlToSet = urlInAddressBar || url;
487
488
if (this.element) {
489
this.element.src = urlToSet || this.currentUrl();
0 commit comments