mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-05-03 14:10:09 +00:00
cleaned up migrations
This commit is contained in:
parent
16f56a59b3
commit
0ac78ae2fe
17 changed files with 413 additions and 3333 deletions
|
|
@ -82,6 +82,9 @@ function QueryInput({
|
|||
onKeyDown={(e) => {
|
||||
if (e.key === "Enter" && !e.shiftKey) {
|
||||
e.preventDefault();
|
||||
if (q.trim().length === 0) {
|
||||
return;
|
||||
}
|
||||
handleSubmit(q, preparedSpaces);
|
||||
setQ("");
|
||||
}
|
||||
|
|
@ -95,6 +98,9 @@ function QueryInput({
|
|||
type="submit"
|
||||
onClick={(e) => {
|
||||
e.preventDefault();
|
||||
if (q.trim().length === 0) {
|
||||
return;
|
||||
}
|
||||
handleSubmit(q, preparedSpaces);
|
||||
}}
|
||||
disabled={disabled}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue