diff --git a/src/components/Projects/ProjectSolutionModal.tsx b/src/components/Projects/ProjectSolutionModal.tsx index 7c6b291ca..b2f11aa01 100644 --- a/src/components/Projects/ProjectSolutionModal.tsx +++ b/src/components/Projects/ProjectSolutionModal.tsx @@ -8,7 +8,7 @@ import { type AllowedVoteType, } from './ListProjectSolutions'; import { getRelativeTimeString } from '../../lib/date'; -import { ArrowUpRight, ThumbsDown, ThumbsUp } from 'lucide-react'; +import { ArrowUpRight, ThumbsDown, ThumbsUp, Trophy } from 'lucide-react'; import { VoteButton } from './VoteButton'; import { GitHubIcon } from '../ReactIcons/GitHubIcon'; import { isLoggedIn } from '../../lib/jwt'; @@ -132,63 +132,58 @@ export function ProjectSolutionModal(props: ProjectSolutionModalProps) { window.location.reload(); }} > -
- {projectDescription} -
- -{projectDescription}
+ ++ {submittedAlternatives[Math.floor(Math.random() * submittedAlternatives.length)] || 'Submitted'}{' '} + {getRelativeTimeString(solution?.submittedAt!)} +
+