1
0
Fork 0

remove text hook in profiles to fix pasting

This commit is contained in:
Sean Sube 2024-01-14 15:35:01 -06:00
parent 0eacb8bfa6
commit 95ac6d7c84
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 0 additions and 5 deletions

View File

@ -86,11 +86,6 @@ export function Profiles(props: ProfilesProps) {
// eslint-disable-next-line @typescript-eslint/no-floating-promises // eslint-disable-next-line @typescript-eslint/no-floating-promises
loadFromFile(file); loadFromFile(file);
}, },
onText(text, event) {
event.preventDefault();
// eslint-disable-next-line @typescript-eslint/no-floating-promises
parseAutoComment(text).then(loadFromMetadata);
},
}); });
return <Stack direction='row' spacing={STANDARD_SPACING}> return <Stack direction='row' spacing={STANDARD_SPACING}>