Fixed: Clearing parse testing

pull/5806/head
Bogdan 11 months ago committed by GitHub
parent 9854884ed3
commit dc302bfaa8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -36,7 +36,7 @@ function Parse() {
const onClearPress = useCallback(() => {
setTitle('');
dispatch(fetch({ title: '' }));
dispatch(clear());
}, [setTitle, dispatch]);
useEffect(

@ -43,7 +43,7 @@ function ParseModalContent(props: ParseModalContentProps) {
const onClearPress = useCallback(() => {
setTitle('');
dispatch(fetch({ title: '' }));
dispatch(clear());
}, [setTitle, dispatch]);
useEffect(

@ -55,6 +55,8 @@ export const actionHandlers = handleThunks({
}
parseTimeout = window.setTimeout(async () => {
dispatch(set({ section, isFetching: true }));
if (abortCurrentRequest) {
abortCurrentRequest();
}

Loading…
Cancel
Save