submissions
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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",
|
||||
)}>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user