refac
This commit is contained in:
1 parent
291834ecbe
commit
8514669053
1 file changed
+1
-1
@@ -2040,7 +2040,7 @@
|
||||
{stopResponse}
|
||||
{createMessagePair}
|
||||
onChange={(input) => {
|
||||
if (input.prompt) {
|
||||
if (input.prompt !== null) {
|
||||
localStorage.setItem(`chat-input-${$chatId}`, JSON.stringify(input));
|
||||
} else {
|
||||
localStorage.removeItem(`chat-input-${$chatId}`);
|
||||
|
||||
Reference in new issue
Block a user