← All changes
|
assets/src/apps/js/frontend/single-course/index.js
+26
-26
4.3.9
→
4.4.9
View file →
| @@ -1,26 +1,26 @@ | ||
| 1 | -import { Component } from '@wordpress/element'; | |
| 2 | -import Quiz from '@learnpress/quiz'; | |
| 3 | - | |
| 4 | -import './store'; | |
| 5 | - | |
| 6 | -import { Sidebar } from '../single-curriculum/components/sidebar'; // Use toggle in Curriculum tab. | |
| 7 | - | |
| 8 | -class SingleCourse extends Component { | |
| 9 | - render() { | |
| 10 | - return ( | |
| 11 | - <> | |
| 12 | - </> | |
| 13 | - ); | |
| 14 | - } | |
| 15 | -} | |
| 16 | - | |
| 17 | -export default SingleCourse; | |
| 18 | - | |
| 19 | -function run() { | |
| 20 | - Sidebar(); | |
| 21 | -} | |
| 22 | - | |
| 23 | -document.addEventListener( 'DOMContentLoaded', () => { | |
| 24 | - run(); | |
| 25 | -} ); | |
| 26 | - | |
| 1 | +import { Component } from '@wordpress/element'; | |
| 2 | +import Quiz from '@learnpress/quiz'; | |
| 3 | + | |
| 4 | +import './store'; | |
| 5 | + | |
| 6 | +import { Sidebar } from '../single-curriculum/components/sidebar'; // Use toggle in Curriculum tab. | |
| 7 | + | |
| 8 | +class SingleCourse extends Component { | |
| 9 | + render() { | |
| 10 | + return ( | |
| 11 | + <> | |
| 12 | + </> | |
| 13 | + ); | |
| 14 | + } | |
| 15 | +} | |
| 16 | + | |
| 17 | +export default SingleCourse; | |
| 18 | + | |
| 19 | +function run() { | |
| 20 | + Sidebar(); | |
| 21 | +} | |
| 22 | + | |
| 23 | +document.addEventListener( 'DOMContentLoaded', () => { | |
| 24 | + run(); | |
| 25 | +} ); | |
| 26 | + | |