← All changes
|
assets/src/apps/js/blocks/course-elements/course-address/edit.js
+13
-13
4.3.9
→
4.4.9
View file →
| @@ -1,13 +1,13 @@ | ||
| 1 | -import { __ } from '@wordpress/i18n'; | |
| 2 | -import { useBlockProps } from '@wordpress/block-editor'; | |
| 3 | - | |
| 4 | -export const edit = ( props ) => { | |
| 5 | - const blockProps = useBlockProps(); | |
| 6 | - return ( | |
| 7 | - <> | |
| 8 | - <div { ...blockProps }> | |
| 9 | - <span>{ __( 'Address', 'learnpress' ) } </span> | |
| 10 | - </div> | |
| 11 | - </> | |
| 12 | - ); | |
| 13 | -}; | |
| 1 | +import { __ } from '@wordpress/i18n'; | |
| 2 | +import { useBlockProps } from '@wordpress/block-editor'; | |
| 3 | + | |
| 4 | +export const edit = ( props ) => { | |
| 5 | + const blockProps = useBlockProps(); | |
| 6 | + return ( | |
| 7 | + <> | |
| 8 | + <div { ...blockProps }> | |
| 9 | + <span>{ __( 'Address', 'learnpress' ) } </span> | |
| 10 | + </div> | |
| 11 | + </> | |
| 12 | + ); | |
| 13 | +}; | |