@@ -151,7 +151,7 @@ const SystemHistoryTable = ({ system }: Props) => {
variant="outline"
paddingX={0}
onClick={handleNextPage}
- disabled={currentPage === totalPages || totalPages === 0}
+ isDisabled={currentPage === totalPages || totalPages === 0}
>
diff --git a/clients/admin-ui/src/features/system/history/modal/SelectedHistoryContext.tsx b/clients/admin-ui/src/features/system/history/modal/SelectedHistoryContext.tsx
index fba1ac56ee..dfc2f3edde 100644
--- a/clients/admin-ui/src/features/system/history/modal/SelectedHistoryContext.tsx
+++ b/clients/admin-ui/src/features/system/history/modal/SelectedHistoryContext.tsx
@@ -20,11 +20,11 @@ interface SelectedHistoryProviderProps {
formType: FormType;
}
-const SelectedHistoryProvider: React.FC
= ({
+const SelectedHistoryProvider = ({
children,
selectedHistory,
formType,
-}) => {
+}: SelectedHistoryProviderProps) => {
const value = useMemo(
() => ({ selectedHistory, formType }),
[selectedHistory, formType]
diff --git a/clients/admin-ui/src/features/system/history/modal/SystemDataForm.tsx b/clients/admin-ui/src/features/system/history/modal/SystemDataForm.tsx
index f109257eca..4ea6649e96 100644
--- a/clients/admin-ui/src/features/system/history/modal/SystemDataForm.tsx
+++ b/clients/admin-ui/src/features/system/history/modal/SystemDataForm.tsx
@@ -15,7 +15,7 @@ interface SystemDataFormProps {
initialValues: Record;
}
-const SystemDataForm: React.FC = ({ initialValues }) => {
+const SystemDataForm = ({ initialValues }: SystemDataFormProps) => {
const features = useFeatures();
return (
= ({
+const SystemCustomFieldGroup = ({
customFields = {},
resourceType,
-}) => {
+}: SystemCustomFieldGroupProps) => {
const { idToCustomFieldDefinition } = useCustomFields({
resourceType,
});
diff --git a/clients/admin-ui/src/features/system/system-form-declaration-tab/PrivacyDeclarationForm.tsx b/clients/admin-ui/src/features/system/system-form-declaration-tab/PrivacyDeclarationForm.tsx
index 3f3d82b289..8692f12f7a 100644
--- a/clients/admin-ui/src/features/system/system-form-declaration-tab/PrivacyDeclarationForm.tsx
+++ b/clients/admin-ui/src/features/system/system-form-declaration-tab/PrivacyDeclarationForm.tsx
@@ -500,7 +500,7 @@ export const PrivacyDeclarationForm = ({
colorScheme="primary"
size="sm"
type="submit"
- disabled={!dirty}
+ isDisabled={!dirty}
data-testid="save-btn"
>
Save
diff --git a/clients/admin-ui/src/features/system/system-form-declaration-tab/PrivacyDeclarationFormModal.tsx b/clients/admin-ui/src/features/system/system-form-declaration-tab/PrivacyDeclarationFormModal.tsx
index 09b80c2d9c..3852a26ede 100644
--- a/clients/admin-ui/src/features/system/system-form-declaration-tab/PrivacyDeclarationFormModal.tsx
+++ b/clients/admin-ui/src/features/system/system-form-declaration-tab/PrivacyDeclarationFormModal.tsx
@@ -17,14 +17,14 @@ type DataUseFormModalProps = {
children: React.ReactNode;
};
-export const PrivacyDeclarationFormModal: React.FC = ({
+export const PrivacyDeclarationFormModal = ({
isOpen,
onClose,
heading,
isCentered = false,
testId = "privacy-declaration-modal",
children,
-}) => (
+}: DataUseFormModalProps) => (
{isCreate ? "Create entity" : "Update entity"}
diff --git a/clients/admin-ui/src/features/user-management/DeleteUserModal.tsx b/clients/admin-ui/src/features/user-management/DeleteUserModal.tsx
index e374d4511d..d0a671a951 100644
--- a/clients/admin-ui/src/features/user-management/DeleteUserModal.tsx
+++ b/clients/admin-ui/src/features/user-management/DeleteUserModal.tsx
@@ -132,7 +132,7 @@ const DeleteUserModal = ({
diff --git a/clients/admin-ui/src/features/user-management/UpdatePasswordModal.tsx b/clients/admin-ui/src/features/user-management/UpdatePasswordModal.tsx
index ea2d9ee20f..f34740f70b 100644
--- a/clients/admin-ui/src/features/user-management/UpdatePasswordModal.tsx
+++ b/clients/admin-ui/src/features/user-management/UpdatePasswordModal.tsx
@@ -69,7 +69,7 @@ interface UpdatePasswordModalProps {
id: string;
}
-const UpdatePasswordModal: React.FC = ({ id }) => {
+const UpdatePasswordModal = ({ id }: UpdatePasswordModalProps) => {
const {
changePasswordValidation,
handleChange,
@@ -138,7 +138,7 @@ const UpdatePasswordModal: React.FC = ({ id }) => {