← All changes
|
assets/src/apps/js/blocks/courses/course-results/edit.js
+14
-14
4.3.8
→
4.4.10
View file →
| @@ -1,14 +1,14 @@ | ||
| 1 | -import { __, sprintf } from '@wordpress/i18n'; | |
| 2 | -import { useBlockProps } from '@wordpress/block-editor'; | |
| 3 | -export const edit = ( props ) => { | |
| 4 | - const blockProps = useBlockProps(); | |
| 5 | - return ( | |
| 6 | - <> | |
| 7 | - <div { ...blockProps }> | |
| 8 | - <div class="course-results"> | |
| 9 | - { sprintf( __( 'Showing %d-%d of %d results', 'learnpress' ), 1, 6, 20 ) } | |
| 10 | - </div> | |
| 11 | - </div> | |
| 12 | - </> | |
| 13 | - ); | |
| 14 | -}; | |
| 1 | +import { __, sprintf } from '@wordpress/i18n'; | |
| 2 | +import { useBlockProps } from '@wordpress/block-editor'; | |
| 3 | +export const edit = ( props ) => { | |
| 4 | + const blockProps = useBlockProps(); | |
| 5 | + return ( | |
| 6 | + <> | |
| 7 | + <div { ...blockProps }> | |
| 8 | + <div class="course-results"> | |
| 9 | + { sprintf( __( 'Showing %d-%d of %d results', 'learnpress' ), 1, 6, 20 ) } | |
| 10 | + </div> | |
| 11 | + </div> | |
| 12 | + </> | |
| 13 | + ); | |
| 14 | +}; | |