Skip to content

Commit

Permalink
fix(studio-e2e-testing): remove commentAction field action
Browse files Browse the repository at this point in the history
  • Loading branch information
hermanwikner committed Oct 31, 2023
1 parent 3d6bfce commit dc40740
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dev/studio-e2e-testing/sanity.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import {defaultDocumentNode, newDocumentOptions, structure} from 'sanity-test-st
import {presenceTool} from 'sanity-test-studio/plugins/presence'
import {copyAction} from 'sanity-test-studio/fieldActions/copyAction'
import {assistFieldActionGroup} from 'sanity-test-studio/fieldActions/assistFieldActionGroup'
import {commentAction} from 'sanity-test-studio/fieldActions/commentFieldAction'
import {customInspector} from 'sanity-test-studio/inspectors/custom'
import {pasteAction} from 'sanity-test-studio/fieldActions/pasteAction'
import {Branding} from './components/Branding'
Expand Down Expand Up @@ -45,7 +44,7 @@ const sharedSettings = definePlugin({
},
unstable_fieldActions: (prev, ctx) => {
if (['fieldActionsTest', 'stringsTest'].includes(ctx.documentType)) {
return [...prev, commentAction, assistFieldActionGroup, copyAction, pasteAction]
return [...prev, assistFieldActionGroup, copyAction, pasteAction]
}

return prev
Expand Down

0 comments on commit dc40740

Please sign in to comment.