Skip to content

Commit

Permalink
fix: add missing prop in debug story
Browse files Browse the repository at this point in the history
  • Loading branch information
hermanwikner committed Jan 30, 2024
1 parent 535c78a commit 091a27c
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* eslint-disable max-nested-callbacks */
/* eslint-disable no-restricted-imports */
/* eslint-disable react/jsx-no-bind */
import {toPlainText} from '@portabletext/react'
import {EditorChange, PortableTextEditable, PortableTextEditor} from '@sanity/portable-text-editor'
import {Schema} from '@sanity/schema'
import {defineField, defineArrayMember, PortableTextBlock} from '@sanity/types'
Expand All @@ -13,7 +12,7 @@ import {
buildRangeDecorators,
buildTextSelectionFromFragment,
} from '../utils'
import {CommentDocument, CommentTextSelection} from '../types'
import {CommentDocument} from '../types'
import {useCurrentUser} from 'sanity'

const INLINE_STYLE: React.CSSProperties = {outline: 'none'}
Expand Down Expand Up @@ -133,6 +132,9 @@ export default function CommentInlineHighlightDebugStory() {
onDecoratorHoverStart: setCurrentHoveredCommentId,
onDecoratorHoverEnd: setCurrentHoveredCommentId,
currentHoveredCommentId,
onDecoratorClick: () => {
// ...
},
}),
[comments, currentHoveredCommentId, value],
)
Expand Down

0 comments on commit 091a27c

Please sign in to comment.