Skip to content

Commit 763a637

Browse files
committed
fix: lint
1 parent cd94d2b commit 763a637

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/course-outline/hooks.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,9 @@ const useCourseOutline = ({ courseId }) => {
111111
};
112112

113113
const headerNavigationsActions = {
114-
handleNewSection: () => {
115-
// eslint-disable-next-line @typescript-eslint/no-floating-promises
116-
handleAddBlock.mutateAsync({
114+
handleNewSection: async () => {
115+
// istanbul ignore next - we are using this for back compability with the plugin slot. we don't call it anymore.
116+
await handleAddBlock.mutateAsync({
117117
type: ContainerType.Chapter,
118118
parentLocator: courseStructure?.id,
119119
displayName: COURSE_BLOCK_NAMES.chapter.name,

0 commit comments

Comments
 (0)