Skip to content

Commit a704f05

Browse files
committed
chore: fix lint issues
1 parent 54bc2f5 commit a704f05

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/library-authoring/import-course/stepper/ReviewImportDetails.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ describe('ReviewImportDetails', () => {
144144
(useGetContentHits as jest.Mock).mockReturnValue({
145145
isPending: false,
146146
data: {
147-
hits: [{usage_key: "some-usage-key"}],
147+
hits: [{ usage_key: 'some-usage-key' }],
148148
estimatedTotalHits: 1,
149149
},
150150
});

src/library-authoring/import-course/stepper/ReviewImportDetails.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,12 @@ export const ReviewImportDetails = ({ courseId, markAnalysisComplete }: Props) =
143143
const { data: unsupportedBlocksData } = useGetContentHits(
144144
[
145145
`context_key = "${courseId}"`,
146-
`block_type IN [${unsupportedBlockTypes?.flatMap(([ value ]) => `"${value}"`).join(',')}]`,
146+
`block_type IN [${unsupportedBlockTypes?.flatMap(([value]) => `"${value}"`).join(',')}]`,
147147
],
148148
totalUnsupportedBlocks > 0,
149-
[ "usage_key" ],
149+
['usage_key'],
150150
totalUnsupportedBlocks,
151-
'always'
151+
'always',
152152
);
153153

154154
const { data: unsupportedBlocksChildren } = useGetBlockTypes([

0 commit comments

Comments
 (0)