cleaned up migrations

This commit is contained in:
Dhravya 2024-07-07 08:51:53 -05:00
parent 16f56a59b3
commit 0ac78ae2fe
17 changed files with 413 additions and 3333 deletions

View file

@ -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}