diff --git a/packages/console/src/pages/JwtClaims/MonacoCodeEditor/index.module.scss b/packages/console/src/pages/JwtClaims/MonacoCodeEditor/index.module.scss index 4cfd024ba..54c622df8 100644 --- a/packages/console/src/pages/JwtClaims/MonacoCodeEditor/index.module.scss +++ b/packages/console/src/pages/JwtClaims/MonacoCodeEditor/index.module.scss @@ -44,7 +44,7 @@ } } - .actions { + .actionButtons { display: flex; gap: _.unit(2); align-items: center; diff --git a/packages/console/src/pages/JwtClaims/MonacoCodeEditor/index.tsx b/packages/console/src/pages/JwtClaims/MonacoCodeEditor/index.tsx index ee9813412..83beb280b 100644 --- a/packages/console/src/pages/JwtClaims/MonacoCodeEditor/index.tsx +++ b/packages/console/src/pages/JwtClaims/MonacoCodeEditor/index.tsx @@ -5,8 +5,7 @@ import { useCallback, useEffect, useMemo, useRef, useState } from 'react'; import { toast } from 'react-hot-toast'; import { useTranslation } from 'react-i18next'; -import Copy from '@/assets/icons/copy.svg'; -import IconButton from '@/ds-components/IconButton'; +import CopyToClipboard from '@/ds-components/CopyToClipboard'; import { onKeyDownHandler } from '@/utils/a11y'; import { logtoDarkTheme, defaultOptions } from './config.js'; @@ -110,11 +109,9 @@ function MonacoCodeEditor({ className, actions, models }: Props) { ))} -
+
{actions} - - - +