← All changes
|
assets/src/apps/js/blocks/single-course-item/item-close/edit.js
+17
-17
4.3.9
→
4.4.10
View file →
| @@ -1,17 +1,17 @@ | ||
| 1 | -import { __ } from '@wordpress/i18n'; | |
| 2 | -import { Placeholder } from '@wordpress/components'; | |
| 3 | -import { useBlockProps } from '@wordpress/block-editor'; | |
| 4 | - | |
| 5 | -const Edit = ( props ) => { | |
| 6 | - const blockProps = useBlockProps(); | |
| 7 | - | |
| 8 | - return ( | |
| 9 | - <div { ...blockProps }> | |
| 10 | - <a class="back-course" aria-label="Back to course"> | |
| 11 | - <i class="lp-icon-times"></i> | |
| 12 | - </a> | |
| 13 | - </div> | |
| 14 | - ); | |
| 15 | -}; | |
| 16 | - | |
| 17 | -export default Edit; | |
| 1 | +import { __ } from '@wordpress/i18n'; | |
| 2 | +import { Placeholder } from '@wordpress/components'; | |
| 3 | +import { useBlockProps } from '@wordpress/block-editor'; | |
| 4 | + | |
| 5 | +const Edit = ( props ) => { | |
| 6 | + const blockProps = useBlockProps(); | |
| 7 | + | |
| 8 | + return ( | |
| 9 | + <div { ...blockProps }> | |
| 10 | + <a class="back-course" aria-label="Back to course"> | |
| 11 | + <i class="lp-icon-times"></i> | |
| 12 | + </a> | |
| 13 | + </div> | |
| 14 | + ); | |
| 15 | +}; | |
| 16 | + | |
| 17 | +export default Edit; | |