Content-Length: 11451 | pFad | http://github.com/coder/coder/pull/17822.diff
thub.com diff --git a/site/src/components/CodeExample/CodeExample.tsx b/site/src/components/CodeExample/CodeExample.tsx index 71ef7f951471e..b2c8bd16cf0a1 100644 --- a/site/src/components/CodeExample/CodeExample.tsx +++ b/site/src/components/CodeExample/CodeExample.tsx @@ -1,6 +1,5 @@ import type { Interpolation, Theme } from "@emotion/react"; -import { visuallyHidden } from "@mui/utils"; -import { type FC, type KeyboardEvent, type MouseEvent, useRef } from "react"; +import type { FC } from "react"; import { MONOSPACE_FONT_FAMILY } from "theme/constants"; import { CopyButton } from "../CopyButton/CopyButton"; @@ -21,33 +20,8 @@ export const CodeExample: FC
{secret ? (
<>
@@ -60,7 +34,7 @@ export const CodeExample: FC = ({
* readily available in the HTML itself
*/}
{obfuscateText(code)}
-
+
Encrypted text. Please access via the copy button.
>
@@ -69,7 +43,7 @@ export const CodeExample: FC = ({
)}
- Fetched URL: http://github.com/coder/coder/pull/17822.diff
Alternative Proxies: