()
| 645 | } |
| 646 | |
| 647 | const displayWarning = () => { |
| 648 | enqueueSnackbar({ |
| 649 | message: 'Please fill in all mandatory fields.', |
| 650 | options: { |
| 651 | key: new Date().getTime() + Math.random(), |
| 652 | variant: 'warning', |
| 653 | action: (key) => ( |
| 654 | <Button style={{ color: 'white' }} onClick={() => closeSnackbar(key)}> |
| 655 | <IconX /> |
| 656 | </Button> |
| 657 | ) |
| 658 | } |
| 659 | }) |
| 660 | } |
| 661 | |
| 662 | const generateDocStoreToolDesc = async (storeId) => { |
| 663 | if (!storeId) { |
no test coverage detected