File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/web/app/src/components/ui Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7,13 +7,13 @@ import { CheckIcon, CopyIcon } from './icon';
7
7
export const Code : FC < ComponentProps < 'code' > > = ( { children, className, ...props } ) => {
8
8
const [ copied , startCopyTimer ] = useTimed ( 1500 ) ;
9
9
const [ ref , hovering ] = useHover ( ) ;
10
- const codeRef = useRef < HTMLElement | null > ( null )
10
+ const codeRef = useRef < HTMLElement | null > ( null ) ;
11
11
// in case this browser does not support this newer API...
12
12
const navigatorClipboardSupport = typeof navigator . clipboard ?. writeText === 'function' ;
13
13
return (
14
14
< span
15
15
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"
17
17
// Make this element able to be focused by setting tabIndex.
18
18
// eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex
19
19
tabIndex = { 0 }
You can’t perform that action at this time.
0 commit comments