Skip to content

Commit d145440

Browse files
committed
Prettier
1 parent d3b3d3d commit d145440

File tree

1 file changed

+2
-2
lines changed
  • packages/web/app/src/components/ui

1 file changed

+2
-2
lines changed

packages/web/app/src/components/ui/code.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ import { CheckIcon, CopyIcon } from './icon';
77
export const Code: FC<ComponentProps<'code'>> = ({ children, className, ...props }) => {
88
const [copied, startCopyTimer] = useTimed(1500);
99
const [ref, hovering] = useHover();
10-
const codeRef = useRef<HTMLElement | null>(null)
10+
const codeRef = useRef<HTMLElement | null>(null);
1111
// in case this browser does not support this newer API...
1212
const navigatorClipboardSupport = typeof navigator.clipboard?.writeText === 'function';
1313
return (
1414
<span
1515
ref={ref}
16-
className="relative flex items-center gap-2 break-all rounded-md border border-gray-600 bg-black p-4 pr-14 font-mono text-sm cursor-text"
16+
className="relative flex cursor-text items-center gap-2 break-all rounded-md border border-gray-600 bg-black p-4 pr-14 font-mono text-sm"
1717
// Make this element able to be focused by setting tabIndex.
1818
// eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex
1919
tabIndex={0}

0 commit comments

Comments
 (0)