ant-design/components/modal/destroyFns.ts
Danial Soheili 164ea65250
Bugfix/modal destroy all with context (#40281)
* 🐞 FIX: destroyAll not working with useModal

* 🧪 TEST: add test

* Update components/modal/useModal/index.tsx

Co-authored-by: Amumu <yoyo837@hotmail.com>

Co-authored-by: Amumu <yoyo837@hotmail.com>
2023-01-17 14:54:34 +08:00

3 lines
67 B
TypeScript

const destroyFns: Array<Function> = [];
export default destroyFns;