From 9fc39a28f1c7268c69e0e0bd7e3b529738f82565 Mon Sep 17 00:00:00 2001 From: alex-slobodian Date: Fri, 14 Jun 2024 13:26:37 +0300 Subject: [PATCH] Remove general block --- .../CertificateCreateByCustom.tsx | 13 ------------- .../styles/index.module.scss | 12 ------------ src/i18n/locales/en/main.json | 5 ----- 3 files changed, 30 deletions(-) diff --git a/src/components/certificate-create-by-custom/CertificateCreateByCustom.tsx b/src/components/certificate-create-by-custom/CertificateCreateByCustom.tsx index 4648fd84..bb7e5d73 100644 --- a/src/components/certificate-create-by-custom/CertificateCreateByCustom.tsx +++ b/src/components/certificate-create-by-custom/CertificateCreateByCustom.tsx @@ -97,19 +97,6 @@ export const CertificateCreateByCustom: React.FunctionComponent< onChange={(event) => setIsFormValid(event.currentTarget.checkValidity())} > -
- - {t("certificates.general.title")} - -
- - -
-
-
{t("certificates.subject.title")} diff --git a/src/components/certificate-create-by-custom/styles/index.module.scss b/src/components/certificate-create-by-custom/styles/index.module.scss index 4f81a887..30f040f7 100644 --- a/src/components/certificate-create-by-custom/styles/index.module.scss +++ b/src/components/certificate-create-by-custom/styles/index.module.scss @@ -19,18 +19,6 @@ } } - .general_box { - display: flex; - flex-direction: column; - gap: var(--pv-size-base-2); - - .general_fields { - display: flex; - flex-direction: column; - gap: var(--pv-size-base-2); - } - } - .divider { height: 1px; background-color: var(--pv-color-gray-4); diff --git a/src/i18n/locales/en/main.json b/src/i18n/locales/en/main.json index f0dc25e0..6c80bf9b 100644 --- a/src/i18n/locales/en/main.json +++ b/src/i18n/locales/en/main.json @@ -89,11 +89,6 @@ "signature-algorithm": "Signature Algorithm", "hash-algorithm": "Hash Algorithm", "key-named-curve": "Named curve", - "general": { - "title": "General", - "friendly-name": "Friendly name", - "description": "Description" - }, "subject": { "title": "Subject", "cname": {