From 3c27b11ba4f289f9a3b44057f19a3fe8647aed00 Mon Sep 17 00:00:00 2001 From: "D'Abrantes, Felipe (UG - Comp Sci & Elec Eng)" <fd00246@surrey.ac.uk> Date: Thu, 20 Apr 2023 17:59:16 +0000 Subject: [PATCH] Applied msg suyggestion --- daily-thought-frontend/src/components/form/QuestionSubmit.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daily-thought-frontend/src/components/form/QuestionSubmit.tsx b/daily-thought-frontend/src/components/form/QuestionSubmit.tsx index d62c7988..5085cc83 100644 --- a/daily-thought-frontend/src/components/form/QuestionSubmit.tsx +++ b/daily-thought-frontend/src/components/form/QuestionSubmit.tsx @@ -30,7 +30,7 @@ const QuestionSubmit: FC<PropsWithChildren<QuestionSubmitProps>> = ({ const handleSubmit = async (e: FormEvent) => { e.preventDefault(); if (!dailyResponse) { - setError("Can't submit an empty response!"); + setError("Can't post an empty Daily!"); } else { const endpoint = `${process.env.NEXT_PUBLIC_FEED_SERVICE_URL}daily/create`; const JsonData = JSON.stringify({ -- GitLab