mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
fix eslint
This commit is contained in:
parent
a72d9ec381
commit
2a54161e51
@ -17,7 +17,7 @@ Display a global loading indicator, which is dismissed by itself asynchronously.
|
||||
import { message, Button } from 'antd';
|
||||
|
||||
const success = () => {
|
||||
let hide = message.loading('Action in progress..', 0);
|
||||
const hide = message.loading('Action in progress..', 0);
|
||||
// Dismiss manually and asynchronously
|
||||
setTimeout(hide, 2500);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user