|
|
|
@ -2,12 +2,11 @@ import clsx from 'clsx';
|
|
|
|
|
import { List as ImmutableList } from 'immutable';
|
|
|
|
|
import React from 'react';
|
|
|
|
|
import { FormattedMessage } from 'react-intl';
|
|
|
|
|
import { useDispatch } from 'react-redux';
|
|
|
|
|
import { useHistory } from 'react-router-dom';
|
|
|
|
|
|
|
|
|
|
import { openModal } from 'soapbox/actions/modals';
|
|
|
|
|
import { HStack, Text, Emoji } from 'soapbox/components/ui';
|
|
|
|
|
import { useAppSelector, useSoapboxConfig, useFeatures } from 'soapbox/hooks';
|
|
|
|
|
import { useAppSelector, useSoapboxConfig, useFeatures, useAppDispatch } from 'soapbox/hooks';
|
|
|
|
|
import { reduceEmoji } from 'soapbox/utils/emoji-reacts';
|
|
|
|
|
import { shortNumberFormat } from 'soapbox/utils/numbers';
|
|
|
|
|
|
|
|
|
@ -22,7 +21,7 @@ const StatusInteractionBar: React.FC<IStatusInteractionBar> = ({ status }): JSX.
|
|
|
|
|
|
|
|
|
|
const me = useAppSelector(({ me }) => me);
|
|
|
|
|
const { allowedEmoji } = useSoapboxConfig();
|
|
|
|
|
const dispatch = useDispatch();
|
|
|
|
|
const dispatch = useAppDispatch();
|
|
|
|
|
const features = useFeatures();
|
|
|
|
|
const { account } = status;
|
|
|
|
|
|
|
|
|
|