Skip to content

Commit

Permalink
test(playwright-ct): update props after refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
skogsmaskin committed Oct 24, 2023
1 parent 4ca954e commit a900e8a
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React, {useState} from 'react'
import {CurrentUser, PortableTextBlock} from '@sanity/types'
import {noop} from 'lodash'
import {CommentInput} from '../../../src/desk/comments/src/components/pte/comment-input/CommentInput'
import {TestWrapper} from '../formBuilder/utils/TestWrapper'

Expand Down Expand Up @@ -28,12 +29,9 @@ export function CommentsInputStory() {
onChange={setValue}
value={value}
mentionOptions={{data: [], error: null, loading: false}}
onEditDiscard={() => {
// ...
}}
onSubmit={() => {
// ...
}}
onDiscardConfirm={noop}
onDiscardCancel={noop}
onSubmit={noop}
/>
</TestWrapper>
)
Expand Down

0 comments on commit a900e8a

Please sign in to comment.