onRowClick?.(item)}
+ >
{selectedItems && (
|
{
+interface AdditionalInfoProps
+ extends Pick<
+ Collection,
+ 'specializations' | 'isFree' | 'company' | 'questionsCount' | 'createdBy' | 'keywords'
+ > {
showAuthor?: boolean;
className?: string;
media?: Media | undefined;
diff --git a/src/widgets/Collection/ui/CollectionHeader/CollectionHeader.tsx b/src/widgets/Collection/ui/CollectionHeader/CollectionHeader.tsx
index cd9c2b54f..4eca4e37c 100644
--- a/src/widgets/Collection/ui/CollectionHeader/CollectionHeader.tsx
+++ b/src/widgets/Collection/ui/CollectionHeader/CollectionHeader.tsx
@@ -11,10 +11,8 @@ import { Collection } from '@/entities/collection';
import styles from './CollectionHeader.module.css';
-interface CollectionHeaderProps extends Pick<
- Collection,
- 'title' | 'description' | 'imageSrc' | 'company'
-> {
+interface CollectionHeaderProps
+ extends Pick {
renderDrawer: () => ReactNode;
}
diff --git a/src/widgets/analytics/PopularSkillsWidget/ui/PopularSkillsWidget/PopularSkillsWidget.tsx b/src/widgets/analytics/PopularSkillsWidget/ui/PopularSkillsWidget/PopularSkillsWidget.tsx
index adab4f37d..19f58ee6b 100644
--- a/src/widgets/analytics/PopularSkillsWidget/ui/PopularSkillsWidget/PopularSkillsWidget.tsx
+++ b/src/widgets/analytics/PopularSkillsWidget/ui/PopularSkillsWidget/PopularSkillsWidget.tsx
@@ -36,14 +36,16 @@ const PopularSkillsWidget = () => {
isActionPositionBottom
>
- {data?.data.slice(0, 3).map((item) => (
-
- ))}
+ {data?.data
+ .slice(0, 3)
+ .map((item) => (
+
+ ))}
);
diff --git a/src/widgets/question/QuestionsList/ui/PreviewQuestionsList/PreviewQuestionsList.tsx b/src/widgets/question/QuestionsList/ui/PreviewQuestionsList/PreviewQuestionsList.tsx
index 47112cbf4..977604b01 100644
--- a/src/widgets/question/QuestionsList/ui/PreviewQuestionsList/PreviewQuestionsList.tsx
+++ b/src/widgets/question/QuestionsList/ui/PreviewQuestionsList/PreviewQuestionsList.tsx
@@ -24,7 +24,7 @@ export const PreviewQuestionsList = ({ className }: PreviewQuestionsListProps) =
const { data: response, isSuccess } = useGetQuestionsListQuery({
random: true,
limit: 3,
- specialization: specializationId,
+ specializationId,
});
const questions = response?.data ?? [];
diff --git a/src/widgets/task/TaskTabs/model/types/types.ts b/src/widgets/task/TaskTabs/model/types/types.ts
index 6af712e63..e1964a488 100644
--- a/src/widgets/task/TaskTabs/model/types/types.ts
+++ b/src/widgets/task/TaskTabs/model/types/types.ts
@@ -4,5 +4,4 @@ export type TaskTabId = 'description' | 'solutions';
export type TaskTabsProps = {
task: Task;
- solutions?: string[];
};
diff --git a/src/widgets/task/TaskTabs/ui/TaskTabs.module.css b/src/widgets/task/TaskTabs/ui/TaskTabs.module.css
index f3eb3a4dc..c4136d4d1 100644
--- a/src/widgets/task/TaskTabs/ui/TaskTabs.module.css
+++ b/src/widgets/task/TaskTabs/ui/TaskTabs.module.css
@@ -1,6 +1,7 @@
.wrapper {
display: flex;
flex-direction: column;
+ padding: 16px;
height: 100%;
}
diff --git a/src/widgets/task/TaskTabs/ui/TaskTabs.tsx b/src/widgets/task/TaskTabs/ui/TaskTabs.tsx
index 2a8b0b332..2b5475a6c 100644
--- a/src/widgets/task/TaskTabs/ui/TaskTabs.tsx
+++ b/src/widgets/task/TaskTabs/ui/TaskTabs.tsx
@@ -1,7 +1,7 @@
import { useMemo } from 'react';
import { useTranslation } from 'react-i18next';
-import { i18Namespace, Task as TaskTranslations } from '@/shared/config';
+import { i18Namespace, Tasks } from '@/shared/config';
import { Card } from '@/shared/ui/Card';
import { Tabs, Tab } from '@/shared/ui/Tabs';
@@ -12,23 +12,23 @@ import type { TaskTabId, TaskTabsProps } from '../model/types/types';
import styles from './TaskTabs.module.css';
-export const TaskTabs = ({ task, solutions }: TaskTabsProps) => {
+export const TaskTabs = ({ task }: TaskTabsProps) => {
const { t } = useTranslation(i18Namespace.task);
const tabs: Tab[] = useMemo(
() => [
{
id: 'description',
- label: t(TaskTranslations.DESCRIPTION_TAB_TITLE),
+ label: t(Tasks.DESCRIPTION_TAB_TITLE),
Component: () => ,
},
{
id: 'solutions',
- label: t(TaskTranslations.SOLUTIONS_TAB_TITLE),
- Component: () => ,
+ label: t(Tasks.SOLUTIONS_TAB_TITLE),
+ Component: () => ,
},
],
- [task, solutions],
+ [task],
);
const { activeTab, setActiveTab } = useTaskTabsQuery(tabs);
@@ -38,8 +38,14 @@ export const TaskTabs = ({ task, solutions }: TaskTabsProps) => {
}
return (
-
-
+
+
{activeTab.Component()}
);
diff --git a/src/widgets/task/TaskWorkspace/index.ts b/src/widgets/task/TaskWorkspace/index.ts
index e781e634e..d9319cf3e 100644
--- a/src/widgets/task/TaskWorkspace/index.ts
+++ b/src/widgets/task/TaskWorkspace/index.ts
@@ -1,2 +1 @@
export { TaskWorkspace } from './ui/TaskWorkspace';
-export type { TaskWorkspaceProps } from './model/types/types';
diff --git a/src/widgets/task/TaskWorkspace/model/types/types.ts b/src/widgets/task/TaskWorkspace/model/types/types.ts
index b36047ae8..5fc7e0644 100644
--- a/src/widgets/task/TaskWorkspace/model/types/types.ts
+++ b/src/widgets/task/TaskWorkspace/model/types/types.ts
@@ -1,19 +1,5 @@
import type { ExecuteCodeResponse } from '@/entities/task';
-export interface TaskWorkspaceProps {
- code: string;
- languageId: number;
- supportedLanguages: Array<{ id: number; name: string }>;
- isExecuting: boolean;
- isTesting: boolean;
- output: ExecuteCodeResponse | null;
- onCodeChange: (code: string) => void;
- onLanguageChange: (languageId: number) => void;
- onReset: () => void;
- onRun: () => void;
- onSubmit: () => void;
-}
-
export type OutputTabId = 'result' | 'tests';
export type TaskOutputProps = {
diff --git a/src/widgets/task/TaskWorkspace/ui/TaskEditor/TaskEditor.module.css b/src/widgets/task/TaskWorkspace/ui/TaskEditor/TaskEditor.module.css
index 0aac7a036..38d2f6b4a 100644
--- a/src/widgets/task/TaskWorkspace/ui/TaskEditor/TaskEditor.module.css
+++ b/src/widgets/task/TaskWorkspace/ui/TaskEditor/TaskEditor.module.css
@@ -1,41 +1,14 @@
.wrapper {
- display: flex;
- flex-direction: column;
- gap: 16px;
- padding: 16px;
height: 100%;
}
.header {
- display: flex;
- justify-content: space-between;
- align-items: center;
+ z-index: 1;
}
-.actions {
- display: flex;
- align-items: center;
- gap: 12px;
-}
-
-.select {
- padding: 8px 12px;
- outline: none;
- border: 1px solid var(--color-gray-300);
- border-radius: 8px;
- background-color: var(--color-white);
- color: var(--color-black-700);
- font-size: var(--font-size-p-s);
- transition: border-color 0.2s;
- cursor: pointer;
-}
-
-.select:hover {
- border-color: var(--color-purple-500);
-}
-
-.select:focus {
- border-color: var(--color-purple-700);
+.block {
+ height: 100%;
+ overflow: hidden;
}
.editor {
diff --git a/src/widgets/task/TaskWorkspace/ui/TaskEditor/TaskEditor.tsx b/src/widgets/task/TaskWorkspace/ui/TaskEditor/TaskEditor.tsx
index 9f0fbbf3f..a0455af28 100644
--- a/src/widgets/task/TaskWorkspace/ui/TaskEditor/TaskEditor.tsx
+++ b/src/widgets/task/TaskWorkspace/ui/TaskEditor/TaskEditor.tsx
@@ -1,16 +1,21 @@
import MonacoEditor from '@monaco-editor/react';
import { useTranslation } from 'react-i18next';
-import { i18Namespace, Task as TaskTranslations } from '@/shared/config';
+import { i18Namespace, Tasks } from '@/shared/config';
import { Button } from '@/shared/ui/Button';
+import { Card } from '@/shared/ui/Card';
+import { Flex } from '@/shared/ui/Flex';
import { Icon } from '@/shared/ui/Icon';
+import { IconButton } from '@/shared/ui/IconButton';
+
+import { ProgrammingLanguage, ProgrammingLanguageSelect } from '@/entities/programmingLanguage';
import styles from './TaskEditor.module.css';
type TaskEditorProps = {
code: string;
languageId: number;
- supportedLanguages: { id: number; name: string }[];
+ supportedLanguages: ProgrammingLanguage[];
isExecuting: boolean;
isTesting: boolean;
onCodeChange: (code: string) => void;
@@ -36,46 +41,46 @@ export const TaskEditor = ({
const currentLanguage = supportedLanguages.find((lang) => lang.id === languageId);
return (
-
-
-
-
-
-
-
-
-
+
+
+
+
+ {
+ onLanguageChange(Number(value));
+ }}
+ supportedLanguages={supportedLanguages}
+ />
+ } onClick={onReset} />
+
+
+
+
+
+
+
+
+
+
+ onCodeChange(value || '')}
+ theme="vs-light"
+ options={{
+ minimap: { enabled: false },
+ scrollBeyondLastLine: false,
+ fontSize: 14,
+ }}
+ />
-
-
- onCodeChange(value || '')}
- theme="vs-light"
- options={{
- minimap: { enabled: false },
- scrollBeyondLastLine: false,
- fontSize: 14,
- }}
- />
-
-
+
+
);
};
diff --git a/src/widgets/task/TaskWorkspace/ui/TaskOutput/TaskOutput.tsx b/src/widgets/task/TaskWorkspace/ui/TaskOutput/TaskOutput.tsx
index a3f5459de..7048ccd5a 100644
--- a/src/widgets/task/TaskWorkspace/ui/TaskOutput/TaskOutput.tsx
+++ b/src/widgets/task/TaskWorkspace/ui/TaskOutput/TaskOutput.tsx
@@ -1,7 +1,7 @@
import { useMemo } from 'react';
import { useTranslation } from 'react-i18next';
-import { i18Namespace, Task as TaskTranslations } from '@/shared/config';
+import { i18Namespace, Tasks } from '@/shared/config';
import { Tab, Tabs } from '@/shared/ui/Tabs';
import { useTaskOutputQuery } from '../../model/hooks/useTaskOutputQuery';
@@ -9,7 +9,7 @@ import type { TaskOutputProps, OutputTabId } from '../../model/types/types';
import styles from './TaskOutput.module.css';
import { TaskOutputResult } from './TaskOutputResult/TaskOutputResult';
-import { TaskOutputTests } from './TaskOutputTests/TaskOutputTests';
+// import { TaskOutputTests } from './TaskOutputTests/TaskOutputTests';
export const TaskOutput = ({ result }: TaskOutputProps) => {
const { t } = useTranslation(i18Namespace.task);
@@ -18,14 +18,14 @@ export const TaskOutput = ({ result }: TaskOutputProps) => {
() => [
{
id: 'result',
- label: t(TaskTranslations.OUTPUT_RESULT_TAB_TITLE),
+ label: t(Tasks.OUTPUT_RESULT_TAB_TITLE),
Component: () => ,
},
- {
- id: 'tests',
- label: t(TaskTranslations.OUTPUT_TESTS_TAB_TITLE),
- Component: () => ,
- },
+ // {
+ // id: 'tests',
+ // label: t(Tasks.OUTPUT_TESTS_TAB_TITLE),
+ // Component: () => ,
+ // },
],
[result, t],
);
@@ -38,7 +38,13 @@ export const TaskOutput = ({ result }: TaskOutputProps) => {
return (
-
+
{activeTab.Component()}
);
diff --git a/src/widgets/task/TaskWorkspace/ui/TaskOutput/TaskOutputResult/TaskOutputResult.module.css b/src/widgets/task/TaskWorkspace/ui/TaskOutput/TaskOutputResult/TaskOutputResult.module.css
index 4f6256ce5..efd188bb4 100644
--- a/src/widgets/task/TaskWorkspace/ui/TaskOutput/TaskOutputResult/TaskOutputResult.module.css
+++ b/src/widgets/task/TaskWorkspace/ui/TaskOutput/TaskOutputResult/TaskOutputResult.module.css
@@ -1,9 +1,3 @@
-.wrapper {
- display: flex;
- flex-direction: column;
- gap: 16px;
-}
-
.error,
.output {
display: flex;
@@ -15,7 +9,7 @@
padding: 12px;
overflow-x: auto;
border-radius: 8px;
- background-color: var(--color-gray-100);
+ background-color: var(--color-black-400);
color: var(--color-black-700);
font-size: var(--font-size-p-s);
font-family: var(--font-family-code);
@@ -23,10 +17,7 @@
}
.stats {
- display: flex;
- flex-direction: column;
- gap: 8px;
padding: 16px;
border-radius: 8px;
- background-color: var(--color-gray-50);
+ background-color: var(--color-black-100);
}
diff --git a/src/widgets/task/TaskWorkspace/ui/TaskOutput/TaskOutputResult/TaskOutputResult.tsx b/src/widgets/task/TaskWorkspace/ui/TaskOutput/TaskOutputResult/TaskOutputResult.tsx
index acd9964bb..db520cb96 100644
--- a/src/widgets/task/TaskWorkspace/ui/TaskOutput/TaskOutputResult/TaskOutputResult.tsx
+++ b/src/widgets/task/TaskWorkspace/ui/TaskOutput/TaskOutputResult/TaskOutputResult.tsx
@@ -1,6 +1,7 @@
import { useTranslation } from 'react-i18next';
-import { i18Namespace, Task as TaskTranslations } from '@/shared/config';
+import { i18Namespace, Tasks } from '@/shared/config';
+import { Flex } from '@/shared/ui/Flex';
import { Stub } from '@/shared/ui/Stub';
import { Text } from '@/shared/ui/Text';
@@ -19,47 +20,55 @@ export const TaskOutputResult = ({ result }: TaskOutputResultProps) => {
return (
);
}
return (
-
- {result.compilation_error && (
-
-
- {t(TaskTranslations.OUTPUT_RESULT_COMPILATION_ERROR)}:
-
- {result.compilation_error}
-
- )}
+
+ {/*{result.compilation_error && (*/}
+ {/* */}
+ {/* */}
+ {/* {t(Tasks.OUTPUT_RESULT_COMPILATION_ERROR)}:*/}
+ {/* */}
+ {/* {result.compilation_error}*/}
+ {/* */}
+ {/*)}*/}
- {result.runtime_output && (
-
- {t(TaskTranslations.OUTPUT_RESULT_RUNTIME_OUTPUT)}:
- {result.runtime_output}
-
- )}
-
-
-
- {t(TaskTranslations.OUTPUT_RESULT_TESTS_PASSED)}: {result.passed_tests}/
- {result.total_tests}
-
-
- {t(TaskTranslations.OUTPUT_RESULT_SUCCESS_RATE)}: {result.success_rate.toFixed(2)}%
-
+ {/*{result.runtime_output && (*/}
+ {/* */}
+ {/* {t(Tasks.OUTPUT_RESULT_RUNTIME_OUTPUT)}:*/}
+ {/* {result.runtime_output}*/}
+ {/* */}
+ {/*)}*/}
+
+ {t(
+ result.overall_status === 'SUCCESS'
+ ? Tasks.TABLE_STATUS_SOLVED
+ : Tasks.TABLE_STATUS_NOT_SOLVED,
+ )}
+
+
+ {/**/}
+ {/* {t(Tasks.OUTPUT_RESULT_TESTS_PASSED)}: {result.passed_tests}/{result.total_tests}*/}
+ {/**/}
+ {/**/}
+ {/* {t(Tasks.OUTPUT_RESULT_SUCCESS_RATE)}: {result.success_rate.toFixed(2)}%*/}
+ {/**/}
- {t(TaskTranslations.OUTPUT_RESULT_EXECUTION_TIME)}:{' '}
- {result.total_execution_time.toFixed(2)} мс
+ {t(Tasks.OUTPUT_RESULT_EXECUTION_TIME)}:{' '}
+ {t(Tasks.TIME_LIMIT_VALUE, { count: result.total_execution_time || 0 })}
- {t(TaskTranslations.OUTPUT_RESULT_MEMORY_USAGE)}: {result.average_memory_usage.toFixed(2)}{' '}
- KB
+ {t(Tasks.OUTPUT_RESULT_MEMORY_USAGE)}:{' '}
+ {t(Tasks.MEMORY_LIMIT_VALUE, { count: result.average_memory_usage || 0 })}
-
-
+
+
);
};
diff --git a/src/widgets/task/TaskWorkspace/ui/TaskOutput/TaskOutputTests/TaskOutputTests.tsx b/src/widgets/task/TaskWorkspace/ui/TaskOutput/TaskOutputTests/TaskOutputTests.tsx
index 9ee2b539f..755777b2c 100644
--- a/src/widgets/task/TaskWorkspace/ui/TaskOutput/TaskOutputTests/TaskOutputTests.tsx
+++ b/src/widgets/task/TaskWorkspace/ui/TaskOutput/TaskOutputTests/TaskOutputTests.tsx
@@ -1,7 +1,7 @@
import { useMemo, useState } from 'react';
import { useTranslation } from 'react-i18next';
-import { i18Namespace, Task as TaskTranslations } from '@/shared/config';
+import { i18Namespace, Tasks } from '@/shared/config';
import { Tab, Tabs } from '@/shared/ui/Tabs';
import { Text } from '@/shared/ui/Text';
@@ -23,7 +23,7 @@ export const TaskOutputTests = ({ result }: TaskOutputTestsProps) => {
return result.test_cases.map((testCase, index) => ({
id: index,
- label: t(TaskTranslations.OUTPUT_TESTS_TEST_CASE_TITLE, { index: index + 1 }),
+ label: t(Tasks.OUTPUT_TESTS_TEST_CASE_TITLE, { index: index + 1 }),
Component: () => (
@@ -31,28 +31,26 @@ export const TaskOutputTests = ({ result }: TaskOutputTestsProps) => {
variant="body3-strong"
color={testCase.status === 'PASSED' ? 'green-500' : 'red-500'}
>
- {t(TaskTranslations.OUTPUT_TESTS_TEST_CASE_STATUS)}:{' '}
+ {t(Tasks.OUTPUT_TESTS_TEST_CASE_STATUS)}:{' '}
{testCase.status === 'PASSED'
- ? t(TaskTranslations.OUTPUT_TESTS_TEST_CASE_PASSED)
- : t(TaskTranslations.OUTPUT_TESTS_TEST_CASE_FAILED)}
+ ? t(Tasks.OUTPUT_TESTS_TEST_CASE_PASSED)
+ : t(Tasks.OUTPUT_TESTS_TEST_CASE_FAILED)}
{testCase.is_hidden && (
- {t(TaskTranslations.OUTPUT_TESTS_TEST_CASE_HIDDEN)}
+ {t(Tasks.OUTPUT_TESTS_TEST_CASE_HIDDEN)}
)}
{!testCase.is_hidden && (
<>
-
- {t(TaskTranslations.OUTPUT_TESTS_TEST_CASE_INPUT)}:
-
+ {t(Tasks.OUTPUT_TESTS_TEST_CASE_INPUT)}:
{JSON.stringify(testCase.input, null, 2)}
- {t(TaskTranslations.OUTPUT_TESTS_TEST_CASE_EXPECTED_OUTPUT)}:
+ {t(Tasks.OUTPUT_TESTS_TEST_CASE_EXPECTED_OUTPUT)}:
{JSON.stringify(testCase.expected_output, null, 2)}
@@ -60,9 +58,7 @@ export const TaskOutputTests = ({ result }: TaskOutputTestsProps) => {
-
- {t(TaskTranslations.OUTPUT_TESTS_TEST_CASE_ACTUAL_OUTPUT)}:
-
+ {t(Tasks.OUTPUT_TESTS_TEST_CASE_ACTUAL_OUTPUT)}:
{testCase.actual_output}
>
@@ -71,7 +67,7 @@ export const TaskOutputTests = ({ result }: TaskOutputTestsProps) => {
{testCase.error_message && (
- {t(TaskTranslations.OUTPUT_TESTS_TEST_CASE_ERROR_MESSAGE)}:
+ {t(Tasks.OUTPUT_TESTS_TEST_CASE_ERROR_MESSAGE)}:
{testCase.error_message}
@@ -79,12 +75,11 @@ export const TaskOutputTests = ({ result }: TaskOutputTestsProps) => {
- {t(TaskTranslations.OUTPUT_TESTS_TEST_CASE_EXECUTION_TIME)}:{' '}
- {testCase.execution_time.toFixed(2)} мс
+ {t(Tasks.OUTPUT_TESTS_TEST_CASE_EXECUTION_TIME)}: {testCase.execution_time.toFixed(2)}{' '}
+ мс
- {t(TaskTranslations.OUTPUT_TESTS_TEST_CASE_MEMORY_USAGE)}:{' '}
- {testCase.memory_usage.toFixed(2)} KB
+ {t(Tasks.OUTPUT_TESTS_TEST_CASE_MEMORY_USAGE)}: {testCase.memory_usage.toFixed(2)} KB
@@ -99,7 +94,7 @@ export const TaskOutputTests = ({ result }: TaskOutputTestsProps) => {
if (testTabs.length === 0 || !activeTestTab) {
return (
- {t(TaskTranslations.OUTPUT_TESTS_TEST_CASE_EMPTY)}
+ {t(Tasks.OUTPUT_TESTS_TEST_CASE_EMPTY)}
);
}
diff --git a/src/widgets/task/TaskWorkspace/ui/TaskWorkspace.module.css b/src/widgets/task/TaskWorkspace/ui/TaskWorkspace.module.css
index 8a6fb68e0..31c9cf606 100644
--- a/src/widgets/task/TaskWorkspace/ui/TaskWorkspace.module.css
+++ b/src/widgets/task/TaskWorkspace/ui/TaskWorkspace.module.css
@@ -12,6 +12,7 @@
.editor-card {
display: flex;
flex-direction: column;
+ padding: 16px;
height: 100%;
overflow: hidden;
}
@@ -24,6 +25,7 @@
.output-card {
display: flex;
flex-direction: column;
+ padding: 16px;
height: 100%;
overflow: hidden;
}
diff --git a/src/widgets/task/TaskWorkspace/ui/TaskWorkspace.tsx b/src/widgets/task/TaskWorkspace/ui/TaskWorkspace.tsx
index 38a5c668d..950c894ee 100644
--- a/src/widgets/task/TaskWorkspace/ui/TaskWorkspace.tsx
+++ b/src/widgets/task/TaskWorkspace/ui/TaskWorkspace.tsx
@@ -4,12 +4,27 @@ import type { PanelImperativeHandle } from 'react-resizable-panels';
import { Card } from '@/shared/ui/Card';
-import type { TaskWorkspaceProps } from '../model/types/types';
+import { ProgrammingLanguage } from '@/entities/programmingLanguage';
+import type { ExecuteCodeResponse } from '@/entities/task';
import { TaskEditor } from './TaskEditor/TaskEditor';
import { TaskOutput } from './TaskOutput/TaskOutput';
import styles from './TaskWorkspace.module.css';
+interface TaskWorkspaceProps {
+ code: string;
+ languageId: number;
+ supportedLanguages: ProgrammingLanguage[];
+ isExecuting: boolean;
+ isTesting: boolean;
+ output: ExecuteCodeResponse | null;
+ onCodeChange: (code: string) => void;
+ onLanguageChange: (languageId: number) => void;
+ onReset: () => void;
+ onRun: () => void;
+ onSubmit: () => void;
+}
+
export const TaskWorkspace = ({
code,
languageId,
@@ -37,32 +52,31 @@ export const TaskWorkspace = ({
return (
-
-
-
-
+
+
-
+
diff --git a/src/widgets/task/TasksList/ui/TasksList.tsx b/src/widgets/task/TasksList/ui/TasksList.tsx
index aa88ac1da..b6cd06a49 100644
--- a/src/widgets/task/TasksList/ui/TasksList.tsx
+++ b/src/widgets/task/TasksList/ui/TasksList.tsx
@@ -1,10 +1,10 @@
import { Flex } from '@/shared/ui/Flex';
-import type { TaskListItem } from '@/entities/task';
+import type { Task } from '@/entities/task';
import { TaskCard } from '@/entities/task';
interface TasksListProps {
- tasks: TaskListItem[];
+ tasks: Task[];
}
export const TasksList = ({ tasks }: TasksListProps) => {
|