Skip to content

Commit f333872

Browse files
committed
fix(tiptap): add eslint disable comment for exhaustive-deps rule in RichTextEditor component
1 parent 181e551 commit f333872

File tree

1 file changed

+1
-0
lines changed
  • packages/ui/src/components/ui/text-editor

1 file changed

+1
-0
lines changed

packages/ui/src/components/ui/text-editor/editor.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export function RichTextEditor({
4545
}: RichTextEditorProps) {
4646
const [hasChanges, setHasChanges] = useState(false);
4747

48+
// eslint-disable-next-line react-hooks/exhaustive-deps
4849
const debouncedOnChange = useCallback(
4950
debounce((newContent: JSONContent) => {
5051
onChange?.(newContent);

0 commit comments

Comments
 (0)