From 6b79d590cee36a69b13be711212f1666cd7cc03c Mon Sep 17 00:00:00 2001
From: FadhilP <fadhilpradipta0@gmail.com>
Date: Mon, 17 May 2021 15:07:27 +0700
Subject: [PATCH] [REFACTOR] Revise error message

---
 src/page/batch/FormBatch.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/page/batch/FormBatch.jsx b/src/page/batch/FormBatch.jsx
index 80b4a86..412367f 100644
--- a/src/page/batch/FormBatch.jsx
+++ b/src/page/batch/FormBatch.jsx
@@ -37,7 +37,7 @@ const FormBatch = ({ onSubmit, initialData = null, error }) => {
         if (moment(startDate) <= moment(endDate))
           handleSubmit(onSubmit)
           
-        else setErrorMessage("Tanggal Akhir tidak boleh lebih dulu dari Tanggal Mulai!")
+        else setErrorMessage("Tanggal Mulai tidak boleh melebihi Tanggal Akhir!")
       }}
       css={css`
         display: flex;
-- 
GitLab