File tree Expand file tree Collapse file tree
course-unit/add-component Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ const AddComponent = ({
187187 /* istanbul ignore next */
188188 ( { courseKey, locator } ) => {
189189 setCourseId ( courseKey ) ;
190- setBlockType ( moduleName ?? null ) ;
190+ setBlockType ( moduleName ) ;
191191 setNewBlockId ( locator ) ;
192192 showXBlockEditorModal ( ) ;
193193 } ,
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import { SavingErrorAlert } from '@src/generic/saving-error-alert';
1414import { LoadingSpinner } from '@src/generic/Loading' ;
1515import SubHeader from '@src/generic/sub-header/SubHeader' ;
1616
17- import ConnectionErrorAlert from '.. /generic/ConnectionErrorAlert' ;
17+ import ConnectionErrorAlert from '@src /generic/ConnectionErrorAlert' ;
1818import EmptyPlaceholder from './empty-placeholder/EmptyPlaceholder' ;
1919import TextbookCard from './textbook-card/TextbooksCard' ;
2020import TextbookSidebar from './textbook-sidebar/TextbookSidebar' ;
You can’t perform that action at this time.
0 commit comments