forked from getcursor/cursor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hide OAI key option until we can port over to GA model
- Loading branch information
Showing
3 changed files
with
10 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,7 +54,7 @@ const customStyles = { | |
height: 'auto', | ||
marginLeft: 'auto', | ||
marginRight: 'auto', | ||
maxWidth: '600px', | ||
maxWidth: '700px', | ||
}, | ||
} | ||
|
||
|
@@ -73,7 +73,7 @@ function ErrorPopup() { | |
<div className="errorPopup"> | ||
<div className="errorPopup__title"> | ||
<div className="errorPopup__title_text"> | ||
Maximum Capacity | ||
We ran into a problem | ||
</div> | ||
<div | ||
className="errorPopup__title_close" | ||
|
@@ -83,8 +83,7 @@ function ErrorPopup() { | |
</div> | ||
</div> | ||
<div className="errorPopup__body"> | ||
We're getting more traffic than we can handle right now. | ||
Please try again later. | ||
Something unexpected happened. Please try again later. If this continues, please contact [email protected]. | ||
<br /> | ||
</div> | ||
</div> | ||
|
@@ -153,7 +152,10 @@ function NoAuthRateLimitPopup() { | |
</div> | ||
<div className="errorPopup__body"> | ||
We're getting more traffic than we can handle right | ||
now. To avoid these limits, you can enter your OpenAI API key in Settings. | ||
now. Please try again in one minute. To avoid these limits, you can optionally upgrade to <a | ||
className="pay-link" | ||
onClick={() => dispatch(ts.upgradeCursor(null))} | ||
>pro</a>. | ||
</div> | ||
</div> | ||
</Modal> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters