Skip to content

Commit

Permalink
fixed a few more that were missed
Browse files Browse the repository at this point in the history
  • Loading branch information
jtpetty committed Oct 16, 2023
1 parent 7fd3eb8 commit 854a7e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
} from 'sanity'

const DISABLED_REASON_KEY = {
NO_CHANGES: 'action.discard-changes.disabled.noChanges',
NO_CHANGES: 'action.discard-changes.disabled.no-changes',
NOT_PUBLISHED: 'action.discard-changes.disabled.not-published',
NOT_READY: 'action.discard-changes.disabled.not-ready',
} as const
Expand Down Expand Up @@ -54,7 +54,7 @@ export const DiscardChangesAction: DocumentActionComponent = ({
tone: 'critical',
onCancel: onComplete,
onConfirm: handleConfirm,
message: t('action.discard-changes.confirmDialog.confirm-discard-changes'),
message: t('action.discard-changes.confirm-dialog.confirm-discard-changes'),
},
[handleConfirm, isConfirmDialogOpen, onComplete, t],
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
const DISABLED_REASON_KEY = {
NOT_PUBLISHED: 'action.unpublish.disabled.not-published',
NOT_READY: 'action.unpublish.disabled.not-ready',
LIVE_EDIT_ENABLED: 'action.unpublish.disabled.liveEditEnabled',
LIVE_EDIT_ENABLED: 'action.unpublish.disabled.live-edit-enabled',
}

/** @internal */
Expand Down

0 comments on commit 854a7e4

Please sign in to comment.