Upload folder using huggingface_hub
Browse files
client/src/pages/TutorialTasks.tsx
CHANGED
|
@@ -67,7 +67,7 @@ const TutorialTasks: React.FC = () => {
|
|
| 67 |
const [submitting, setSubmitting] = useState<{[key: string]: boolean}>({});
|
| 68 |
const [isWeekHidden, setIsWeekHidden] = useState<boolean>(false);
|
| 69 |
const [translationText, setTranslationText] = useState<{[key: string]: string}>({});
|
| 70 |
-
|
| 71 |
const [expandedSections, setExpandedSections] = useState<{[key: string]: boolean}>({});
|
| 72 |
const [lockedCardHeights, setLockedCardHeights] = useState<{[key: string]: number}>({});
|
| 73 |
const cardRefs = useRef<{[key: string]: HTMLDivElement | null}>({});
|
|
@@ -120,9 +120,9 @@ const TutorialTasks: React.FC = () => {
|
|
| 120 |
}
|
| 121 |
};
|
| 122 |
|
| 123 |
-
|
| 124 |
const [selectedGroups, setSelectedGroups] = useState<{[key: string]: number}>({});
|
| 125 |
-
|
| 126 |
const GroupDocSection: React.FC<{ weekNumber: number }> = ({ weekNumber }) => {
|
| 127 |
const [group, setGroup] = useState<number>(() => {
|
| 128 |
const saved = localStorage.getItem(`tutorial_group_${weekNumber}`);
|
|
|
|
| 67 |
const [submitting, setSubmitting] = useState<{[key: string]: boolean}>({});
|
| 68 |
const [isWeekHidden, setIsWeekHidden] = useState<boolean>(false);
|
| 69 |
const [translationText, setTranslationText] = useState<{[key: string]: string}>({});
|
| 70 |
+
|
| 71 |
const [expandedSections, setExpandedSections] = useState<{[key: string]: boolean}>({});
|
| 72 |
const [lockedCardHeights, setLockedCardHeights] = useState<{[key: string]: number}>({});
|
| 73 |
const cardRefs = useRef<{[key: string]: HTMLDivElement | null}>({});
|
|
|
|
| 120 |
}
|
| 121 |
};
|
| 122 |
|
| 123 |
+
|
| 124 |
const [selectedGroups, setSelectedGroups] = useState<{[key: string]: number}>({});
|
| 125 |
+
|
| 126 |
const GroupDocSection: React.FC<{ weekNumber: number }> = ({ weekNumber }) => {
|
| 127 |
const [group, setGroup] = useState<number>(() => {
|
| 128 |
const saved = localStorage.getItem(`tutorial_group_${weekNumber}`);
|