refactor: useUserSettings uses global state to reduce db calls
This commit is contained in:
@@ -93,8 +93,6 @@ const handleSubmit = () => {
|
||||
return;
|
||||
}
|
||||
|
||||
console.log(inputValue.value);
|
||||
|
||||
if (inputValue.value.content.trim() || inputValue.value.fileIds.length > 0) {
|
||||
emit('submit', inputValue.value, selectedModel.value);
|
||||
inputValue.value = { content: '', fileIds: [] };
|
||||
|
||||
Reference in New Issue
Block a user