From 6f1d1982bea85b2e8bb8aa77a2ed412abbbc8ff9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B4mulo=20Penido?= Date: Fri, 30 Aug 2024 17:38:13 -0300 Subject: [PATCH] fix: eslint --- src/library-authoring/LibraryBlock/LibraryBlock.tsx | 1 + src/library-authoring/component-info/ComponentInfo.tsx | 2 +- src/library-authoring/data/apiHooks.ts | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/library-authoring/LibraryBlock/LibraryBlock.tsx b/src/library-authoring/LibraryBlock/LibraryBlock.tsx index a7a8f83e33..92ad5eedf4 100644 --- a/src/library-authoring/LibraryBlock/LibraryBlock.tsx +++ b/src/library-authoring/LibraryBlock/LibraryBlock.tsx @@ -1,3 +1,4 @@ +// eslint-disable react/requires-default-props import React, { useEffect, useMemo, useRef, useState, } from 'react'; diff --git a/src/library-authoring/component-info/ComponentInfo.tsx b/src/library-authoring/component-info/ComponentInfo.tsx index 999554380b..22ca4d5a04 100644 --- a/src/library-authoring/component-info/ComponentInfo.tsx +++ b/src/library-authoring/component-info/ComponentInfo.tsx @@ -15,7 +15,7 @@ interface ComponentInfoProps { usageKey: string; } -const ComponentInfo= ({ usageKey }: ComponentInfoProps) => { +const ComponentInfo = ({ usageKey }: ComponentInfoProps) => { const intl = useIntl(); return ( diff --git a/src/library-authoring/data/apiHooks.ts b/src/library-authoring/data/apiHooks.ts index cdaf183498..651fd3a18d 100644 --- a/src/library-authoring/data/apiHooks.ts +++ b/src/library-authoring/data/apiHooks.ts @@ -19,7 +19,6 @@ import { getXBlockFields, updateXBlockFields, getXBlockRender, - getXBlockHandlerUrl, } from './api'; const libraryQueryPredicate = (query: Query, libraryId: string): boolean => {