diff options
| author | Dhravya <[email protected]> | 2024-06-24 23:25:35 -0500 |
|---|---|---|
| committer | Dhravya <[email protected]> | 2024-06-24 23:25:35 -0500 |
| commit | e38a932efd869860fd658d0bdb9c038aa910db05 (patch) | |
| tree | 3cc182153a5322d2a0bc2b1fe04b591dc7aedcb8 /apps/web/app | |
| parent | chathistory (diff) | |
| download | supermemory-e38a932efd869860fd658d0bdb9c038aa910db05.tar.xz supermemory-e38a932efd869860fd658d0bdb9c038aa910db05.zip | |
minor fixes
Diffstat (limited to 'apps/web/app')
| -rw-r--r-- | apps/web/app/(dash)/home/queryinput.tsx | 5 | ||||
| -rw-r--r-- | apps/web/app/actions/doers.ts | 2 |
2 files changed, 5 insertions, 2 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" > diff --git a/apps/web/app/actions/doers.ts b/apps/web/app/actions/doers.ts index be49f18b..99a1b719 100644 --- a/apps/web/app/actions/doers.ts +++ b/apps/web/app/actions/doers.ts @@ -193,7 +193,7 @@ export const createMemory = async (input: { if (!vectorSaveResponse.ok) { const errorData = await vectorSaveResponse.text(); - console.log(errorData); + console.error(errorData); return { success: false, data: 0, |