From f593e88f9ae8bd76d0d8b31108dfe9f079d9777d Mon Sep 17 00:00:00 2001 From: Benjamin Auder Date: Thu, 20 Feb 2020 22:13:28 +0100 Subject: [PATCH] 'update' --- client/src/data/problemCheck.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/data/problemCheck.js b/client/src/data/problemCheck.js index b9fe04df..d6b916cf 100644 --- a/client/src/data/problemCheck.js +++ b/client/src/data/problemCheck.js @@ -4,9 +4,9 @@ export function checkProblem(p) { if (!V.IsGoodFen(p.fen)) return "Errors in FEN"; - if (p.instruction.trim().length == 0) return "Empty instructions"; + if (p.instruction.trim().length == 0) return "Missing instructions"; - if (p.solution.trim().length == 0) return "Empty solution"; + if (p.solution.trim().length == 0) return "Missing solution"; return ""; } -- 2.44.0