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';
77export 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 }
You can’t perform that action at this time.
0 commit comments