remove extra strings
This commit is contained in:
@@ -18,8 +18,6 @@ import { useMutation, useQuery, useQueryClient } from '@tanstack/react-query';
|
|||||||
import ModalWindow from '@/app/components/modalWindow';
|
import ModalWindow from '@/app/components/modalWindow';
|
||||||
import { toast } from 'sonner';
|
import { toast } from 'sonner';
|
||||||
import { FileTypeIcon } from '@/app/components/FileTypeIcon';
|
import { FileTypeIcon } from '@/app/components/FileTypeIcon';
|
||||||
import { getFileType } from '@/app/lib/getFileType';
|
|
||||||
import Image from 'next/image';
|
|
||||||
import { downloadFile } from '@/app/actions/contentActions';
|
import { downloadFile } from '@/app/actions/contentActions';
|
||||||
import { useContentForAppeals, AppealsFile } from '@/app/hooks/react-query/useContentForAppeals';
|
import { useContentForAppeals, AppealsFile } from '@/app/hooks/react-query/useContentForAppeals';
|
||||||
import AppealModerationModal from '@/app/ui/content/AppealModerationModal';
|
import AppealModerationModal from '@/app/ui/content/AppealModerationModal';
|
||||||
@@ -84,7 +82,6 @@ export default function ContentAppealsTable({ permission }: { permission: number
|
|||||||
|
|
||||||
const t = useTranslations("Global");
|
const t = useTranslations("Global");
|
||||||
|
|
||||||
// Получаем параметры сортировки для API
|
|
||||||
const getSortParams = useMemo(() => {
|
const getSortParams = useMemo(() => {
|
||||||
if (sorting.length === 0) {
|
if (sorting.length === 0) {
|
||||||
return { sortBy: '', sortDirection: undefined };
|
return { sortBy: '', sortDirection: undefined };
|
||||||
|
|||||||
Reference in New Issue
Block a user