mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Linting fixes
This commit is contained in:
parent
486f0f2870
commit
5b86a23587
2 changed files with 3 additions and 7 deletions
|
|
@ -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 } =
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue