Skip to content

Commit 081e715

Browse files
committed
Fix creating PRs
1 parent 1419d1a commit 081e715

File tree

1 file changed

+2
-5
lines changed
  • packages/app/src/app/pages/common/Modals/PRModal

1 file changed

+2
-5
lines changed

packages/app/src/app/pages/common/Modals/PRModal/index.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@ const PRModal: React.FC = () => {
77

88
const {
99
state: {
10-
git: {
11-
isCreatingPr,
12-
pr: { prURL },
13-
},
10+
git: { isCreatingPr, pr },
1411
},
1512
} = useOvermind();
1613

@@ -20,7 +17,7 @@ const PRModal: React.FC = () => {
2017
Done! We{"'"}ll now open the new sandbox of this PR and GitHub in 3
2118
seconds...
2219
<div style={{ fontSize: '.875rem', marginTop: '1rem' }}>
23-
<a href={prURL} target="_blank" rel="noreferrer noopener">
20+
<a href={pr.prURL} target="_blank" rel="noreferrer noopener">
2421
Click here if nothing happens.
2522
</a>
2623
</div>

0 commit comments

Comments
 (0)