missions and filter

This commit is contained in:
Виталий Лавшонок
2025-11-08 06:58:56 +03:00
parent 69655dda82
commit b12a3acf1d
26 changed files with 694 additions and 158 deletions

View File

@@ -73,6 +73,7 @@ const ContestItem: React.FC<ContestItemProps> = ({
: ' bg-liquid-background',
)}
onClick={() => {
console.log(456);
navigate(`/contest/${id}`);
}}
>
@@ -99,8 +100,8 @@ const ContestItem: React.FC<ContestItemProps> = ({
<>
{' '}
<PrimaryButton
onClick={(e) => {
e.stopPropagation();
onClick={() => {
console.log(123);
}}
text="Регистрация"
/>
@@ -108,12 +109,7 @@ const ContestItem: React.FC<ContestItemProps> = ({
) : (
<>
{' '}
<ReverseButton
onClick={(e) => {
e.stopPropagation();
}}
text="Вы записаны"
/>
<ReverseButton onClick={() => {}} text="Вы записаны" />
</>
)}
</div>