Skip to content

Commit

Permalink
docs: remove duplicated codes (#1658)
Browse files Browse the repository at this point in the history
  • Loading branch information
situ2001 committed May 27, 2022
1 parent 65e9d97 commit 1d4ed40
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions docs/react/refs.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,7 @@ Here's the **TypeScript** version which, as a bonus should pass type checks.

```tsx
import React, { forwardRef, useImperativeHandle } from 'react';
import {
ReactExtensions,
ReactFrameworkOutput,
ReactFrameworkOutput,
Remirror,
useRemirror,
} from '@remirror/react';
import { ReactExtensions, ReactFrameworkOutput, Remirror, useRemirror } from '@remirror/react';

const extensions = () => [new BoldExtension()];
type Extensions = ReactExtensions<BoldExtension>;
Expand Down

1 comment on commit 1d4ed40

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Published on https://remirror.io as production
🚀 Deployed on https://6290ca7a1c72302d4e89a52f--remirror.netlify.app

Please sign in to comment.