diff --git a/packages/console/src/pages/JwtClaims/ScriptPanel.tsx b/packages/console/src/pages/JwtClaims/ScriptSection.tsx similarity index 95% rename from packages/console/src/pages/JwtClaims/ScriptPanel.tsx rename to packages/console/src/pages/JwtClaims/ScriptSection.tsx index e138f61d5..762e9c57b 100644 --- a/packages/console/src/pages/JwtClaims/ScriptPanel.tsx +++ b/packages/console/src/pages/JwtClaims/ScriptSection.tsx @@ -15,7 +15,7 @@ const titlePhrases = Object.freeze({ [JwtTokenType.MachineToMachineAccessToken]: 'machine_to_machine_jwt', }); -function ScriptPanel() { +function ScriptSection() { const { t } = useTranslation(undefined, { keyPrefix: 'admin_console' }); const { watch } = useFormContext(); @@ -38,4 +38,4 @@ function ScriptPanel() { ); } -export default ScriptPanel; +export default ScriptSection; diff --git a/packages/console/src/pages/JwtClaims/SettingsPanel/EnvironmentVariablesField.tsx b/packages/console/src/pages/JwtClaims/SettingsSection/EnvironmentVariablesField.tsx similarity index 100% rename from packages/console/src/pages/JwtClaims/SettingsPanel/EnvironmentVariablesField.tsx rename to packages/console/src/pages/JwtClaims/SettingsSection/EnvironmentVariablesField.tsx diff --git a/packages/console/src/pages/JwtClaims/SettingsPanel/GuideCard.tsx b/packages/console/src/pages/JwtClaims/SettingsSection/GuideCard.tsx similarity index 100% rename from packages/console/src/pages/JwtClaims/SettingsPanel/GuideCard.tsx rename to packages/console/src/pages/JwtClaims/SettingsSection/GuideCard.tsx diff --git a/packages/console/src/pages/JwtClaims/SettingsPanel/InstructionTab.tsx b/packages/console/src/pages/JwtClaims/SettingsSection/InstructionTab.tsx similarity index 100% rename from packages/console/src/pages/JwtClaims/SettingsPanel/InstructionTab.tsx rename to packages/console/src/pages/JwtClaims/SettingsSection/InstructionTab.tsx diff --git a/packages/console/src/pages/JwtClaims/SettingsPanel/TestResult.tsx b/packages/console/src/pages/JwtClaims/SettingsSection/TestResult.tsx similarity index 100% rename from packages/console/src/pages/JwtClaims/SettingsPanel/TestResult.tsx rename to packages/console/src/pages/JwtClaims/SettingsSection/TestResult.tsx diff --git a/packages/console/src/pages/JwtClaims/SettingsPanel/TestTab.tsx b/packages/console/src/pages/JwtClaims/SettingsSection/TestTab.tsx similarity index 100% rename from packages/console/src/pages/JwtClaims/SettingsPanel/TestTab.tsx rename to packages/console/src/pages/JwtClaims/SettingsSection/TestTab.tsx diff --git a/packages/console/src/pages/JwtClaims/SettingsPanel/index.module.scss b/packages/console/src/pages/JwtClaims/SettingsSection/index.module.scss similarity index 100% rename from packages/console/src/pages/JwtClaims/SettingsPanel/index.module.scss rename to packages/console/src/pages/JwtClaims/SettingsSection/index.module.scss diff --git a/packages/console/src/pages/JwtClaims/SettingsPanel/index.tsx b/packages/console/src/pages/JwtClaims/SettingsSection/index.tsx similarity index 94% rename from packages/console/src/pages/JwtClaims/SettingsPanel/index.tsx rename to packages/console/src/pages/JwtClaims/SettingsSection/index.tsx index 4b64c6147..3a52d7d00 100644 --- a/packages/console/src/pages/JwtClaims/SettingsPanel/index.tsx +++ b/packages/console/src/pages/JwtClaims/SettingsSection/index.tsx @@ -14,7 +14,7 @@ enum Tab { Test = 'test_tab', } -function SettingsPanel() { +function SettingsSection() { const [activeTab, setActiveTab] = useState(Tab.DataSource); return ( @@ -39,4 +39,4 @@ function SettingsPanel() { ); } -export default SettingsPanel; +export default SettingsSection; diff --git a/packages/console/src/pages/JwtClaims/index.tsx b/packages/console/src/pages/JwtClaims/index.tsx index 24e760d66..136088a08 100644 --- a/packages/console/src/pages/JwtClaims/index.tsx +++ b/packages/console/src/pages/JwtClaims/index.tsx @@ -6,8 +6,8 @@ import { useTranslation } from 'react-i18next'; import CardTitle from '@/ds-components/CardTitle'; import TabNav, { TabNavItem } from '@/ds-components/TabNav'; -import ScriptPanel from './ScriptPanel'; -import SettingsPanel from './SettingsPanel'; +import ScriptSection from './ScriptSection'; +import SettingsSection from './SettingsSection'; import { JwtTokenType } from './config'; import * as styles from './index.module.scss'; import { type JwtClaimsFormType } from './type'; @@ -62,8 +62,8 @@ function JwtClaims({ tab }: Props) { : machineToMachineJwtClaimsForm)} >
- - + +