fix publish confirmation field (#7397)

This commit is contained in:
jessopb 2022-01-04 09:36:44 -05:00 committed by GitHub
parent 0eab08e3b4
commit e704f87557
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -153,7 +153,7 @@ export default function SettingContent(props: Props) {
<SettingsRow title={__('Publish confirmation')} subtitle={__(HELP.PUBLISH_PREVIEW)}>
<FormField
type="checkbox"
name="sync_toggle"
name="publish_confirmation"
label={__('')}
checked={enablePublishPreview}
onChange={() => setClientSetting(SETTINGS.ENABLE_PUBLISH_PREVIEW, !enablePublishPreview)}