← All changes
|
assets/src/apps/js/blocks/courses/course-search/edit.js
+15
-15
4.3.9
→
4.4.10
View file →
| @@ -1,15 +1,15 @@ | ||
| 1 | -import { __ } 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 | - <form className="block-search-courses" > | |
| 9 | - <input type="search" placeholder="Search courses..." name="c_search" value="" /> | |
| 10 | - <button type="submit" disabled name="lp-btn-search-courses"><i className="lp-icon-search"></i></button> | |
| 11 | - </form> | |
| 12 | - </div> | |
| 13 | - </> | |
| 14 | - ); | |
| 15 | -}; | |
| 1 | +import { __ } 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 | + <form className="block-search-courses" > | |
| 9 | + <input type="search" placeholder="Search courses..." name="c_search" value="" /> | |
| 10 | + <button type="submit" disabled name="lp-btn-search-courses"><i className="lp-icon-search"></i></button> | |
| 11 | + </form> | |
| 12 | + </div> | |
| 13 | + </> | |
| 14 | + ); | |
| 15 | +}; | |