Skip to content

Commit

Permalink
prettier fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
truell20 committed Mar 28, 2023
1 parent c4bfac8 commit 536c33d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
14 changes: 10 additions & 4 deletions src/appComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ function ErrorPopup() {
</div>
</div>
<div className="errorPopup__body">
Something unexpected happened. Please try again later. If this continues, please contact [email protected].
Something unexpected happened. Please try again later. If
this continues, please contact [email protected].
<br />
</div>
</div>
Expand Down Expand Up @@ -151,11 +152,16 @@ function NoAuthRateLimitPopup() {
</div>
</div>
<div className="errorPopup__body">
We're getting more traffic than we can handle right
now. Please try again in one minute. To avoid these limits, you can optionally upgrade to <a
We're getting more traffic than we can handle right 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>.
>
pro
</a>
.
</div>
</div>
</Modal>
Expand Down
2 changes: 1 addition & 1 deletion src/components/markdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ export function MarkdownPopup({
</ReactMarkdown>
</div>
<div className={'apply-button-holder'}>
{/* {last && (
{/* {last && (
<button
className="apply-button"
onClick={onApply}
Expand Down
5 changes: 3 additions & 2 deletions src/features/chat/chatThunks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -275,9 +275,10 @@ export async function getPayload({
// hack
dispatch(updateLastUserMessageMsgType(null))

let oaiKey : string | undefined | null = state.settingsState.settings.openAIKey;
let oaiKey: string | undefined | null =
state.settingsState.settings.openAIKey
if (oaiKey == null || oaiKey === '') {
oaiKey = null;
oaiKey = null
}
const userRequest = {
// Core request
Expand Down

0 comments on commit 536c33d

Please sign in to comment.