We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02ecded commit a677ba3Copy full SHA for a677ba3
src/content/reference/react/Fragment.md
@@ -317,8 +317,6 @@ Fragment refs provide focus management methods that work across all DOM nodes wi
317
import { Fragment, useRef } from 'react';
318
319
function FocusFragment({ children }) {
320
- const fragmentRef = useRef(null);
321
-
322
return (
323
<Fragment ref={(fragmentInstance) => fragmentInstance?.focus()}>
324
{children}
0 commit comments