Skip to content

Commit

Permalink
Merge pull request ChatGPTNextWeb#2524 from Yidadaa/bugfix-0731
Browse files Browse the repository at this point in the history
fix: ChatGPTNextWeb#2514 should not clear the message after editing message
  • Loading branch information
Yidadaa authored Jul 31, 2023
2 parents e83e0f6 + 129e7af commit e354fca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/ui-lib.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ export function showPrompt(content: any, value = "", rows = 3) {
};

return new Promise<string>((resolve) => {
let userInput = "";
let userInput = value;

root.render(
<Modal
Expand Down

0 comments on commit e354fca

Please sign in to comment.