feat: moved more of isLoading to isPending

This commit is contained in:
=
2025-01-06 22:13:16 +05:30
parent 2fc6c564c0
commit d2d89034ba
29 changed files with 44 additions and 42 deletions
@@ -56,7 +56,7 @@ export const CreateSecretForm = ({
const { permission } = useProjectPermission();
const canReadTags = permission.can(ProjectPermissionActions.Read, ProjectPermissionSub.Tags);
const { data: projectTags, isLoading: isTagsLoading } = useGetWsTags(
const { data: projectTags, isPending: isTagsLoading } = useGetWsTags(
canReadTags ? workspaceId : ""
);
@@ -35,7 +35,7 @@ export const EditDynamicSecretForm = ({
onClose,
secretPath
}: Props) => {
const { data: dynamicSecretDetails, isLoading: isDynamicSecretLoading } =
const { data: dynamicSecretDetails, isPending: isDynamicSecretLoading } =
useGetDynamicSecretDetails({
projectSlug,
environmentSlug: environment,