Linting fixes

This commit is contained in:
Jackson Harper 2024-07-10 20:30:09 +08:00
parent 486f0f2870
commit 5b86a23587
2 changed files with 3 additions and 7 deletions

View file

@ -926,11 +926,7 @@ const JustAddedItemView = (props: HomeItemViewProps): JSX.Element => {
)
}
type TopPicksItemViewProps = {}
const TopPicksItemView = (
props: HomeItemViewProps & TopPicksItemViewProps
): JSX.Element => {
const TopPicksItemView = (props: HomeItemViewProps): JSX.Element => {
const router = useRouter()
const { dispatch } = useNavigation()
const { archiveItem, deleteItem, moveItem, shareItem } =

View file

@ -556,8 +556,8 @@ export function useGetRawSearchItemsQuery(
}
)
let responseError = error
let responseData = data as LibraryItemsData | undefined
const responseError = error
const responseData = data as LibraryItemsData | undefined
// We need to check the response errors here and return the error
// it will be nested in the data pages, if there is one error,