Skip to content

Commit c18c081

Browse files
committed
Fix URL updating for previews when forking
1 parent 361a401 commit c18c081

File tree

1 file changed

+1
-0
lines changed
  • packages/common/src/components/Preview

1 file changed

+1
-0
lines changed

packages/common/src/components/Preview/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ class BasePreview extends React.Component<Props, State> {
246246
this.setState(
247247
{
248248
urlInAddressBar: url,
249+
url,
249250
showScreenshot: true,
250251
},
251252
() => this.handleRefresh()

0 commit comments

Comments
 (0)