diff options
Diffstat (limited to 'plugins/jetpack/extensions/blocks/contact-info/phone/edit.js')
-rw-r--r-- | plugins/jetpack/extensions/blocks/contact-info/phone/edit.js | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/plugins/jetpack/extensions/blocks/contact-info/phone/edit.js b/plugins/jetpack/extensions/blocks/contact-info/phone/edit.js deleted file mode 100644 index 0a55333e..00000000 --- a/plugins/jetpack/extensions/blocks/contact-info/phone/edit.js +++ /dev/null @@ -1,19 +0,0 @@ -/** - * External dependencies - */ -import { __ } from '@wordpress/i18n'; - -/** - * Internal dependencies - */ -import save from './save'; -import simpleInput from '../../../shared/simple-input'; - -const PhoneEdit = props => { - const { setAttributes } = props; - return simpleInput( 'phone', props, __( 'Phone number', 'jetpack' ), save, nextValue => - setAttributes( { phone: nextValue } ) - ); -}; - -export default PhoneEdit; |