remove text hook in profiles to fix pasting
This commit is contained in:
parent
0eacb8bfa6
commit
95ac6d7c84
|
@ -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}>
|
||||||
|
|
Loading…
Reference in New Issue