balibabu
feat: remove loading from model and use DvaModel instead of redundant types such as kAModelType (#47)
362ec6c
| export const getOneNamespaceEffectsLoading = ( | |
| namespace: string, | |
| effects: Record<string, boolean>, | |
| effectNames: Array<string>, | |
| ) => { | |
| return effectNames.some( | |
| (effectName) => effects[`${namespace}/${effectName}`], | |
| ); | |
| }; | |