diff --git a/src/PageHeader.tsx b/src/PageHeader.tsx
index d193c0d9ea..3e0983082a 100644
--- a/src/PageHeader.tsx
+++ b/src/PageHeader.tsx
@@ -56,9 +56,9 @@ export const Header = () => {
return (
(
+
+ )}
>
{t("realmInfo")}
diff --git a/src/authentication/AuthenticationSection.tsx b/src/authentication/AuthenticationSection.tsx
index 6fd9f24d7d..913277c232 100644
--- a/src/authentication/AuthenticationSection.tsx
+++ b/src/authentication/AuthenticationSection.tsx
@@ -223,9 +223,9 @@ export const AuthenticationSection = () => {
toolbarItem={
diff --git a/src/client-scopes/ClientScopesSection.tsx b/src/client-scopes/ClientScopesSection.tsx
index 19ee99cc14..1eb1404bc6 100644
--- a/src/client-scopes/ClientScopesSection.tsx
+++ b/src/client-scopes/ClientScopesSection.tsx
@@ -204,8 +204,11 @@ export const ClientScopesSection = () => {
/>
- {/* @ts-ignore */}
-
diff --git a/src/client-scopes/details/MappingDetails.tsx b/src/client-scopes/details/MappingDetails.tsx
index 526de2e37d..0b52ad5d5c 100644
--- a/src/client-scopes/details/MappingDetails.tsx
+++ b/src/client-scopes/details/MappingDetails.tsx
@@ -242,9 +242,12 @@ export const MappingDetails = () => {
(
+
+ )}
>
{t("common:cancel")}
diff --git a/src/clients/ClientsSection.tsx b/src/clients/ClientsSection.tsx
index f2a35b799a..fcaf4d9fdb 100644
--- a/src/clients/ClientsSection.tsx
+++ b/src/clients/ClientsSection.tsx
@@ -117,16 +117,19 @@ export const ClientsSection = () => {
toolbarItem={
<>
- {/* @ts-ignore */}
-
+ (
+
+ )}
+ >
{t("createClient")}
(
+
+ )}
variant="link"
>
{t("importClient")}
diff --git a/src/clients/import/ImportForm.tsx b/src/clients/import/ImportForm.tsx
index c76aa1df3f..53fbf5164d 100644
--- a/src/clients/import/ImportForm.tsx
+++ b/src/clients/import/ImportForm.tsx
@@ -97,8 +97,12 @@ export const ImportForm = () => {
{t("common:save")}
- {/* @ts-ignore */}
-
+ (
+
+ )}
+ >
{t("common:cancel")}
diff --git a/src/clients/initial-access/CreateInitialAccessToken.tsx b/src/clients/initial-access/CreateInitialAccessToken.tsx
index 7b2f836f21..996f4cda29 100644
--- a/src/clients/initial-access/CreateInitialAccessToken.tsx
+++ b/src/clients/initial-access/CreateInitialAccessToken.tsx
@@ -130,9 +130,12 @@ export const CreateInitialAccessToken = () => {
(
+
+ )}
>
{t("common:cancel")}
diff --git a/src/clients/initial-access/InitialAccessTokenList.tsx b/src/clients/initial-access/InitialAccessTokenList.tsx
index 2ac72d4d71..f54853dac1 100644
--- a/src/clients/initial-access/InitialAccessTokenList.tsx
+++ b/src/clients/initial-access/InitialAccessTokenList.tsx
@@ -55,12 +55,13 @@ export const InitialAccessTokenList = () => {
searchPlaceholderKey="clients:searchInitialAccessToken"
loader={loader}
toolbarItem={
- <>
- {/* @ts-ignore */}
-
- {t("common:create")}
-
- >
+ (
+
+ )}
+ >
+ {t("common:create")}
+
}
actions={[
{
diff --git a/src/identity-providers/add/DetailSettings.tsx b/src/identity-providers/add/DetailSettings.tsx
index a685494319..a7b7185c39 100644
--- a/src/identity-providers/add/DetailSettings.tsx
+++ b/src/identity-providers/add/DetailSettings.tsx
@@ -321,7 +321,6 @@ export const DetailSettings = () => {
toolbarItem={
{
(
+
+ )}
data-testid="cancelCreateProfile"
>
{t("common:cancel")}
diff --git a/src/realm-settings/ProfilesTab.tsx b/src/realm-settings/ProfilesTab.tsx
index 374fd73f01..244f633d82 100644
--- a/src/realm-settings/ProfilesTab.tsx
+++ b/src/realm-settings/ProfilesTab.tsx
@@ -157,9 +157,9 @@ export const ProfilesTab = () => {
(
+
+ )}
data-testid="createProfile"
>
{t("createClientProfile")}