Changeset View
Changeset View
Standalone View
Standalone View
web/sidebar/community-drawer-item-handlers.react.js
// @flow | // @flow | ||||
import * as React from 'react'; | import * as React from 'react'; | ||||
import { useDispatch } from 'react-redux'; | import { useDispatch } from 'react-redux'; | ||||
import { updateCalendarCommunityFilter } from 'lib/actions/community-actions.js'; | |||||
import type { ThreadInfo } from 'lib/types/thread-types.js'; | import type { ThreadInfo } from 'lib/types/thread-types.js'; | ||||
import type { CommunityDrawerItemHandler } from './community-drawer-item-handler.react.js'; | import type { CommunityDrawerItemHandler } from './community-drawer-item-handler.react.js'; | ||||
import { updateCalendarCommunityFilter } from '../redux/action-types.js'; | |||||
import { useCommunityIsPickedCalendar } from '../selectors/calendar-selectors.js'; | import { useCommunityIsPickedCalendar } from '../selectors/calendar-selectors.js'; | ||||
import { | import { | ||||
useOnClickThread, | useOnClickThread, | ||||
useThreadIsActive, | useThreadIsActive, | ||||
} from '../selectors/thread-selectors.js'; | } from '../selectors/thread-selectors.js'; | ||||
import type { NavigationTab } from '../types/nav-types.js'; | import type { NavigationTab } from '../types/nav-types.js'; | ||||
export type HandlerProps = { | export type HandlerProps = { | ||||
▲ Show 20 Lines • Show All 57 Lines • Show Last 20 Lines |