Unverified Commit 6ccff56b authored by Andrey Azov's avatar Andrey Azov Committed by GitHub
Browse files

Fix duplicate sequence deletion bug in the BLAST form (#723)

parent b816bbac
Pipeline #261542 passed with stages
in 4 minutes and 24 seconds
......@@ -120,7 +120,10 @@ const BlastInputSequence = (props: Props) => {
};
const onClear = () => {
setInput('');
if (!props.sequence) {
// clear textarea if its content has not yet been sent to the parent
setInput('');
}
props.onRemoveSequence?.(index);
props.onInput?.('', index);
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment