change debounce

This commit is contained in:
Chika 2020-09-28 16:41:59 +03:00
parent 743bb2b8f1
commit 941859c80b
2 changed files with 2 additions and 3 deletions

View File

@ -1,5 +1,4 @@
import { notification } from 'antd';
import { DEFAULT_DEBOUNCE_DELAY } from 'core/constants/debounce';
import { debounce } from 'lodash';
type TNotification = 'success' | 'info' | 'warning' | 'error';
@ -23,5 +22,5 @@ export const openNotification = ({
zIndex: 9999999999,
},
}),
500,
750,
);

View File

@ -1 +1 @@
export const DEFAULT_DEBOUNCE_DELAY = 250;
export const DEFAULT_DEBOUNCE_DELAY = 350;