From 95ac6d7c8481bd2f335d83e10fc42d412b948ec9 Mon Sep 17 00:00:00 2001 From: Sean Sube Date: Sun, 14 Jan 2024 15:35:01 -0600 Subject: [PATCH] remove text hook in profiles to fix pasting --- gui/src/components/Profiles.tsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/gui/src/components/Profiles.tsx b/gui/src/components/Profiles.tsx index 0d31f1fd..cb5822d2 100644 --- a/gui/src/components/Profiles.tsx +++ b/gui/src/components/Profiles.tsx @@ -86,11 +86,6 @@ export function Profiles(props: ProfilesProps) { // eslint-disable-next-line @typescript-eslint/no-floating-promises loadFromFile(file); }, - onText(text, event) { - event.preventDefault(); - // eslint-disable-next-line @typescript-eslint/no-floating-promises - parseAutoComment(text).then(loadFromMetadata); - }, }); return