From 17e12d68cc9cf21247c099fde16ce82907615500 Mon Sep 17 00:00:00 2001 From: Alfredo Gallardo Date: Fri, 3 Nov 2023 10:52:51 -0300 Subject: [PATCH] - fix: fixed remove file when press enter --- .../components/connect-method-qr-code/connec-method-qr-code.tsx | 1 + .../connect-method-restore-connection.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/apps/shinkai-visor/src/components/connect-method-qr-code/connec-method-qr-code.tsx b/apps/shinkai-visor/src/components/connect-method-qr-code/connec-method-qr-code.tsx index 39edd90fa..59778e022 100644 --- a/apps/shinkai-visor/src/components/connect-method-qr-code/connec-method-qr-code.tsx +++ b/apps/shinkai-visor/src/components/connect-method-qr-code/connec-method-qr-code.tsx @@ -204,6 +204,7 @@ export const ConnectMethodQrCode = () => { className="absolute top-1 right-1 h-6 w-6" onClick={() => removeQRFile()} size="icon" + type="button" > diff --git a/apps/shinkai-visor/src/components/connect-method-restore-connection/connect-method-restore-connection.tsx b/apps/shinkai-visor/src/components/connect-method-restore-connection/connect-method-restore-connection.tsx index 4831153c9..007b68206 100644 --- a/apps/shinkai-visor/src/components/connect-method-restore-connection/connect-method-restore-connection.tsx +++ b/apps/shinkai-visor/src/components/connect-method-restore-connection/connect-method-restore-connection.tsx @@ -126,6 +126,7 @@ export const ConnectMethodRestoreConnection = () => { className="h-6 w-6" onClick={() => removeConnectionFile()} size="icon" + type="button" >