fix: disable sending messages if both application and conversation are empty and add loading to all pages (#134)
* feat: add loading to all pages * fix: disable sending messages if both application and conversation are empty * feat: add chatSpin class to Spin of chat
This commit is contained in:
@@ -19,5 +19,8 @@ export const useValidateSubmittable = () => {
|
||||
return { submittable, form };
|
||||
};
|
||||
|
||||
export const useGetUserInfoLoading = () =>
|
||||
export const useSelectSubmitUserInfoLoading = () =>
|
||||
useOneNamespaceEffectsLoading('settingModel', ['setting']);
|
||||
|
||||
export const useSelectUserInfoLoading = () =>
|
||||
useOneNamespaceEffectsLoading('settingModel', ['getUserInfo']);
|
||||
|
||||
Reference in New Issue
Block a user