aboutsummaryrefslogtreecommitdiff
path: root/apps/web/app/(dash)
diff options
context:
space:
mode:
authorDhravya <[email protected]>2024-06-24 23:25:35 -0500
committerDhravya <[email protected]>2024-06-24 23:25:35 -0500
commite38a932efd869860fd658d0bdb9c038aa910db05 (patch)
tree3cc182153a5322d2a0bc2b1fe04b591dc7aedcb8 /apps/web/app/(dash)
parentchathistory (diff)
downloadsupermemory-e38a932efd869860fd658d0bdb9c038aa910db05.tar.xz
supermemory-e38a932efd869860fd658d0bdb9c038aa910db05.zip
minor fixes
Diffstat (limited to 'apps/web/app/(dash)')
-rw-r--r--apps/web/app/(dash)/home/queryinput.tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/web/app/(dash)/home/queryinput.tsx b/apps/web/app/(dash)/home/queryinput.tsx
index 46038225..99476e40 100644
--- a/apps/web/app/(dash)/home/queryinput.tsx
+++ b/apps/web/app/(dash)/home/queryinput.tsx
@@ -85,7 +85,10 @@ function QueryInput({
<button
type="submit"
- onClick={(e) => e.preventDefault()}
+ onClick={(e) => {
+ e.preventDefault();
+ handleSubmit(q, preparedSpaces);
+ }}
disabled={disabled}
className="h-12 w-12 rounded-[14px] bg-[#21303D] all-center shrink-0 hover:brightness-125 duration-200 outline-none focus:outline focus:outline-primary active:scale-90"
>