diff --git a/js/apps/account-ui/src/oid4vci/Oid4Vci.tsx b/js/apps/account-ui/src/oid4vci/Oid4Vci.tsx
index 31b8488347..78283d8f3a 100644
--- a/js/apps/account-ui/src/oid4vci/Oid4Vci.tsx
+++ b/js/apps/account-ui/src/oid4vci/Oid4Vci.tsx
@@ -120,7 +120,7 @@ export const Oid4Vci = () => {
diff --git a/js/apps/admin-ui/src/clients/authorization/DecisionStrategySelect.tsx b/js/apps/admin-ui/src/clients/authorization/DecisionStrategySelect.tsx
index aa48ba199f..7b2dca81c8 100644
--- a/js/apps/admin-ui/src/clients/authorization/DecisionStrategySelect.tsx
+++ b/js/apps/admin-ui/src/clients/authorization/DecisionStrategySelect.tsx
@@ -25,7 +25,7 @@ export const DecisionStrategySelect = ({
label={t("decisionStrategy")}
labelIcon={
}
diff --git a/js/apps/admin-ui/src/help-urls.ts b/js/apps/admin-ui/src/help-urls.ts
index cb2693f020..0b7e18b20d 100644
--- a/js/apps/admin-ui/src/help-urls.ts
+++ b/js/apps/admin-ui/src/help-urls.ts
@@ -4,7 +4,7 @@ const adminGuide =
const keycloakHomepageURL = "https://www.keycloak.org";
export default {
- documentationUrl: `${adminGuide}`,
+ documentationUrl: adminGuide,
clientsUrl: `${adminGuide}#assembly-managing-clients_server_administration_guide`,
clientScopesUrl: `${adminGuide}#_client_scopes`,
realmRolesUrl: `${adminGuide}#assigning-permissions-using-roles-and-groups`,
diff --git a/js/apps/admin-ui/src/identity-providers/add/DiscoverySettings.tsx b/js/apps/admin-ui/src/identity-providers/add/DiscoverySettings.tsx
index 78e945fa50..730643b142 100644
--- a/js/apps/admin-ui/src/identity-providers/add/DiscoverySettings.tsx
+++ b/js/apps/admin-ui/src/identity-providers/add/DiscoverySettings.tsx
@@ -121,7 +121,7 @@ const Fields = ({ readOnly }: DiscoverySettingsProps) => {
}}
options={PKCE_METHODS.map((option) => ({
key: option,
- value: t(`${option}`),
+ value: t(option),
}))}
/>
)}
diff --git a/js/apps/admin-ui/src/realm-settings/ThemesTab.tsx b/js/apps/admin-ui/src/realm-settings/ThemesTab.tsx
index 675b52a17f..97b1ae36f1 100644
--- a/js/apps/admin-ui/src/realm-settings/ThemesTab.tsx
+++ b/js/apps/admin-ui/src/realm-settings/ThemesTab.tsx
@@ -86,7 +86,7 @@ export const RealmSettingsThemesTab = ({
key={`login-theme-${idx}`}
value={theme.name}
>
- {t(`${theme.name}`)}
+ {t(theme.name)}
))}
@@ -130,7 +130,7 @@ export const RealmSettingsThemesTab = ({
key={`account-theme-${idx}`}
value={theme.name}
>
- {t(`${theme.name}`)}
+ {t(theme.name)}
))}
@@ -174,7 +174,7 @@ export const RealmSettingsThemesTab = ({
key={`admin-theme-${idx}`}
value={theme.name}
>
- {t(`${theme.name}`)}
+ {t(theme.name)}
))}
@@ -216,7 +216,7 @@ export const RealmSettingsThemesTab = ({
key={`email-theme-${idx}`}
value={theme.name}
>
- {t(`${theme.name}`)}
+ {t(theme.name)}
))}
diff --git a/js/apps/admin-ui/src/user-federation/UserFederationKerberosSettings.tsx b/js/apps/admin-ui/src/user-federation/UserFederationKerberosSettings.tsx
index 2aa6c6fdac..416db32067 100644
--- a/js/apps/admin-ui/src/user-federation/UserFederationKerberosSettings.tsx
+++ b/js/apps/admin-ui/src/user-federation/UserFederationKerberosSettings.tsx
@@ -66,7 +66,7 @@ export default function UserFederationKerberosSettings() {
);
} catch (error) {
addError(
- `${!id ? "createUserProviderError" : "userProviderSaveError"}`,
+ !id ? "createUserProviderError" : "userProviderSaveError",
error,
);
}
diff --git a/js/apps/admin-ui/src/user-federation/UserFederationSection.tsx b/js/apps/admin-ui/src/user-federation/UserFederationSection.tsx
index 8ac9e78a2c..e4d0a3db33 100644
--- a/js/apps/admin-ui/src/user-federation/UserFederationSection.tsx
+++ b/js/apps/admin-ui/src/user-federation/UserFederationSection.tsx
@@ -158,8 +158,8 @@ export default function UserFederationSection() {
footerText={toUpperCase(userFederation.providerId!)}
labelText={
userFederation.config?.["enabled"]?.[0] !== "false"
- ? `${t("enabled")}`
- : `${t("disabled")}`
+ ? t("enabled")
+ : t("disabled")
}
labelColor={
userFederation.config?.["enabled"]?.[0] !== "false"
diff --git a/js/apps/admin-ui/src/user-federation/custom/CustomProviderSettings.tsx b/js/apps/admin-ui/src/user-federation/custom/CustomProviderSettings.tsx
index c192a761b0..08cc1e8ff5 100644
--- a/js/apps/admin-ui/src/user-federation/custom/CustomProviderSettings.tsx
+++ b/js/apps/admin-ui/src/user-federation/custom/CustomProviderSettings.tsx
@@ -96,7 +96,7 @@ export default function CustomProviderSettings() {
);
} catch (error) {
addError(
- `${!id ? "createUserProviderError" : "userProviderSaveError"}`,
+ !id ? "createUserProviderError" : "userProviderSaveError",
error,
);
}
diff --git a/js/apps/admin-ui/src/user-federation/shared/SettingsCache.tsx b/js/apps/admin-ui/src/user-federation/shared/SettingsCache.tsx
index 9708d8199a..4ada45d7c8 100644
--- a/js/apps/admin-ui/src/user-federation/shared/SettingsCache.tsx
+++ b/js/apps/admin-ui/src/user-federation/shared/SettingsCache.tsx
@@ -31,8 +31,8 @@ const CacheFields = ({ form }: { form: UseFormReturn }) => {
});
const hourOptions = [
-
- {[`0${0}`]}
+
+ {[`00`]}
,
];
let hourDisplay = "";
@@ -50,8 +50,8 @@ const CacheFields = ({ form }: { form: UseFormReturn }) => {
}
const minuteOptions = [
-
- {[`0${0}`]}
+
+ {[`00`]}
,
];
let minuteDisplay = "";