submissions

This commit is contained in:
Виталий Лавшонок
2025-11-02 23:41:23 +03:00
parent 235b2c16bd
commit f6c681c038
26 changed files with 589 additions and 298 deletions

View File

@@ -9,7 +9,6 @@ export interface ArticleItemProps {
const ArticleItem: React.FC<ArticleItemProps> = ({
id, name, tags
}) => {
console.log(id);
return (
<div className={cn("w-full relative rounded-[10px] text-liquid-white mb-[20px]",
// type == "first" ? "bg-liquid-lighter" : "bg-liquid-background",

View File

@@ -25,7 +25,6 @@ const Login = () => {
// После успешного логина
useEffect(() => {
console.log(submitClicked);
dispatch(setMenuActivePage("account"))
}, []);
@@ -37,7 +36,6 @@ const Login = () => {
const handleLogin = () => {
// setErr(err == "" ? "Неверная почта и/или пароль" : "");
// console.log(123);
setSubmitClicked(true);
if (!username || !password) return;

View File

@@ -28,7 +28,6 @@ const Register = () => {
// После успешной регистрации — переход в систему
useEffect(() => {
console.log(submitClicked);
dispatch(setMenuActivePage("account"))
}, []);
@@ -71,7 +70,7 @@ const Register = () => {
<div className=" flex items-center mt-[10px] h-[24px]">
<Checkbox
onChange={(value: boolean) => { console.log(value) }}
onChange={(value: boolean) => { value; }}
className="p-0 w-fit m-[2.75px]"
size="md"
color="secondary"

View File

@@ -37,7 +37,6 @@ const GroupsBlock: FC<GroupsBlockProps> = ({ contests, title, className }) => {
active && "border-b-liquid-lighter"
)}
onClick={() => {
console.log(active);
setActive(!active)
}}>
<span>{title}</span>

View File

@@ -26,7 +26,6 @@ const IconComponent: React.FC<IconComponentProps> = ({
const GroupItem: React.FC<GroupItemProps> = ({
id, name, visible, role
}) => {
console.log(id);
return (
<div className={cn("w-full h-[120px] box-border relative rounded-[10px] p-[10px] text-liquid-white bg-liquid-lighter",
)}>

View File

@@ -33,7 +33,6 @@ const GroupsBlock: FC<GroupsBlockProps> = ({ groups, title, className }) => {
active && " border-b-liquid-lighter"
)}
onClick={() => {
console.log(active);
setActive(!active)
}}>
<span>{title}</span>