Changeset View
Changeset View
Standalone View
Standalone View
web/modals/threads/create/compose-subchannel-modal.react.js
// @flow | // @flow | ||||
import * as React from 'react'; | import * as React from 'react'; | ||||
import { useDispatch, useSelector } from 'react-redux'; | import { useDispatch, useSelector } from 'react-redux'; | ||||
import { newThread, newThreadActionTypes } from 'lib/actions/thread-actions.js'; | import { newThread, newThreadActionTypes } from 'lib/actions/thread-actions.js'; | ||||
import { createLoadingStatusSelector } from 'lib/selectors/loading-selectors.js'; | import { createLoadingStatusSelector } from 'lib/selectors/loading-selectors.js'; | ||||
import { threadTypes } from 'lib/types/thread-types-enum.js'; | |||||
import type { ThreadInfo } from 'lib/types/thread-types.js'; | import type { ThreadInfo } from 'lib/types/thread-types.js'; | ||||
import { threadTypes } from 'lib/types/thread-types.js'; | |||||
import { | import { | ||||
useDispatchActionPromise, | useDispatchActionPromise, | ||||
useServerCall, | useServerCall, | ||||
} from 'lib/utils/action-utils.js'; | } from 'lib/utils/action-utils.js'; | ||||
import { useResolvedThreadInfo } from 'lib/utils/entity-helpers.js'; | import { useResolvedThreadInfo } from 'lib/utils/entity-helpers.js'; | ||||
import { trimText } from 'lib/utils/text-utils.js'; | import { trimText } from 'lib/utils/text-utils.js'; | ||||
import css from './compose-subchannel-modal.css'; | import css from './compose-subchannel-modal.css'; | ||||
▲ Show 20 Lines • Show All 265 Lines • Show Last 20 Lines |