diff --git a/src/realm-settings/KeysProvidersTab.tsx b/src/realm-settings/KeysProvidersTab.tsx index 7df71f32c8..e9f511d51b 100644 --- a/src/realm-settings/KeysProvidersTab.tsx +++ b/src/realm-settings/KeysProvidersTab.tsx @@ -19,11 +19,11 @@ import { ToolbarGroup, ToolbarItem, } from "@patternfly/react-core"; -import { KeyMetadataRepresentation } from "keycloak-admin/lib/defs/keyMetadataRepresentation"; -import ComponentRepresentation from "keycloak-admin/lib/defs/componentRepresentation"; +import type { KeyMetadataRepresentation } from "keycloak-admin/lib/defs/keyMetadataRepresentation"; +import type ComponentRepresentation from "keycloak-admin/lib/defs/componentRepresentation"; import "./RealmSettingsSection.css"; -import ComponentTypeRepresentation from "keycloak-admin/lib/defs/componentTypeRepresentation"; +import type ComponentTypeRepresentation from "keycloak-admin/lib/defs/componentTypeRepresentation"; import { SearchIcon } from "@patternfly/react-icons"; type ComponentData = KeyMetadataRepresentation & { diff --git a/src/realm-settings/RealmSettingsSection.tsx b/src/realm-settings/RealmSettingsSection.tsx index ca81241f7f..c0063e726f 100644 --- a/src/realm-settings/RealmSettingsSection.tsx +++ b/src/realm-settings/RealmSettingsSection.tsx @@ -27,8 +27,8 @@ import { PartialImportDialog } from "./PartialImport"; import { RealmSettingsThemesTab } from "./ThemesTab"; import { RealmSettingsEmailTab } from "./EmailTab"; import { KeysListTab } from "./KeysListTab"; -import { KeyMetadataRepresentation } from "keycloak-admin/lib/defs/keyMetadataRepresentation"; -import ComponentRepresentation from "keycloak-admin/lib/defs/componentRepresentation"; +import type { KeyMetadataRepresentation } from "keycloak-admin/lib/defs/keyMetadataRepresentation"; +import type ComponentRepresentation from "keycloak-admin/lib/defs/componentRepresentation"; import { KeysProviderTab } from "./KeysProvidersTab"; import { useServerInfo } from "../context/server-info/ServerInfoProvider";