import React from 'react';
import { defineMessages, useIntl, FormattedMessage } from 'react-intl';
import { useBlocks } from 'soapbox/api/hooks';
import Account from 'soapbox/components/account';
import ScrollableList from 'soapbox/components/scrollable-list';
import { Column, Spinner } from 'soapbox/components/ui';
const messages = defineMessages({
heading: { id: 'column.mutes', defaultMessage: 'Muted users' },
});
const Mutes: React.FC = () => {
const intl = useIntl();
const {
accounts,
hasNextPage,
fetchNextPage,
isLoading,
} = useBlocks('mutes');
if (isLoading) {
return (
);
}
const emptyMessage = ;
return (
{accounts.map((account) => (
))}
);
};
export default Mutes;