Skip to content

Commit

Permalink
Return back lang selector
Browse files Browse the repository at this point in the history
  • Loading branch information
vtm9 committed Feb 27, 2025
1 parent 0aab955 commit c32ba5f
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import useTaskDescriptionParams from '../../utils/useTaskDescriptionParams';

import ContributorsList from './ContributorsList';
import TaskDescriptionMarkdown from './TaskDescriptionMarkdown';
// import TaskLanguagesSelection from './TaskLanguageSelection';
import TaskLanguagesSelection from './TaskLanguageSelection';

const renderTaskLink = name => {
const link = `https://github.com/hexlet-codebattle/battle_asserts/tree/master/src/battle_asserts/issues/${name}.clj`;
Expand Down Expand Up @@ -62,9 +62,6 @@ function TaskAssignment({
fullSize = false,
}) {
const [avaibleLanguages, displayLanguage, description] = useTaskDescriptionParams(task, taskLanguage);
console.log(handleSetLanguage);
console.log(avaibleLanguages);
console.log(displayLanguage);
const handleTaskSizeIncrease = useCallback(() => {
changeTaskDescriptionSizes(taskSize + 1);
}, [taskSize, changeTaskDescriptionSizes]);
Expand Down Expand Up @@ -111,11 +108,11 @@ function TaskAssignment({
<span className="ml-2 text-muted">{task.name}</span>
</h6>
<div className="d-flex align-items-center">
{/* <TaskLanguagesSelection
<TaskLanguagesSelection
handleSetLanguage={handleSetLanguage}
avaibleLanguages={avaibleLanguages}
displayLanguage={displayLanguage}
/> */}
/>

{!fullSize && (
<button
Expand Down

0 comments on commit c32ba5f

Please sign in to comment.