mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Cast unactive actions to correct type now that its an empty list
This commit is contained in:
parent
4e27ec97f9
commit
bde765c524
1 changed files with 2 additions and 2 deletions
|
|
@ -42,7 +42,7 @@ import {
|
|||
State,
|
||||
PageType,
|
||||
} from '../../../lib/networking/fragments/articleFragment'
|
||||
import { useRegisterActions, createAction, useKBar } from 'kbar'
|
||||
import { useRegisterActions, createAction, useKBar, Action } from 'kbar'
|
||||
import { EditTitleModal } from './EditTitleModal'
|
||||
import { useGetUserPreferences } from '../../../lib/networking/queries/useGetUserPreferences'
|
||||
import { searchQuery } from '../../../lib/networking/queries/search'
|
||||
|
|
@ -490,7 +490,7 @@ export function HomeFeedContainer(): JSX.Element {
|
|||
}),
|
||||
]
|
||||
|
||||
const UNACTIVE_ACTIONS = [
|
||||
const UNACTIVE_ACTIONS: Action[] = [
|
||||
// createAction({
|
||||
// section: 'Library',
|
||||
// name: 'Sort in ascending order',
|
||||
|
|
|
|||
Loading…
Reference in a new issue