mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-05-23 20:17:10 +00:00
test
This commit is contained in:
+1
-1
@@ -24,7 +24,7 @@ const CompetitionHeader: React.FC<CompetitionHeaderProps> = ({
|
|||||||
const handleTaskSelect = (taskId: string) => {
|
const handleTaskSelect = (taskId: string) => {
|
||||||
setAnswer("");
|
setAnswer("");
|
||||||
setSelectedFile(null);
|
setSelectedFile(null);
|
||||||
|
console.log("SETTER ERROR")
|
||||||
navigate(`/competition/${competitionId}/tasks/${taskId}`);
|
navigate(`/competition/${competitionId}/tasks/${taskId}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
-1
@@ -68,7 +68,6 @@ const FileSolution: React.FC<FileSolutionProps> = ({
|
|||||||
? existingFileUrl.split('/').pop() || 'file'
|
? existingFileUrl.split('/').pop() || 'file'
|
||||||
: '';
|
: '';
|
||||||
|
|
||||||
console.log(firstSolution, "IS FIRST SOLUTION")
|
|
||||||
const hasFile = !!selectedFile || (!!existingFileUrl && !firstSolution);
|
const hasFile = !!selectedFile || (!!existingFileUrl && !firstSolution);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user