From 57277b7dab2b10a22f60392a8674d9df684e640e Mon Sep 17 00:00:00 2001
From: Michal Masrna <38047051+michalmasrna1@users.noreply.github.com>
Date: Sat, 23 Nov 2024 14:19:31 +0100
Subject: [PATCH] Allow discussion on all problems for everyone. (#464)
Most notably to be able to read discussion on past problems, but we do not mind also writing e. g. after the author solution has been released.
---
src/components/Problems/Problem.tsx | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/src/components/Problems/Problem.tsx b/src/components/Problems/Problem.tsx
index 06b6d7b8..0bc789d8 100644
--- a/src/components/Problems/Problem.tsx
+++ b/src/components/Problems/Problem.tsx
@@ -127,15 +127,13 @@ export const Problem: FC<{
>
)}
+
{canSubmit && (
- <>
-
-
- >
+
)}
)}