From d14296859574e7bf644e7d50acff85a2ec7f687b Mon Sep 17 00:00:00 2001
From: Rosyid Haryadi <rosyid_haryadi@protonmail.com>
Date: Mon, 2 Oct 2023 20:21:12 +0700
Subject: fix rincian

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

(limited to 'src/Result.jsx')

diff --git a/src/Result.jsx b/src/Result.jsx
index 3f89c90..374298d 100644
--- a/src/Result.jsx
+++ b/src/Result.jsx
@@ -39,7 +39,7 @@ function Result({listEntry, baseSalary}) {
                 return (
                     <div key={entry.id}>
                         <Typography>
-                            {entry.date.format('DD MMMM YYYY')}{holidayName ? ` (${holidayName})` : ''}: Rp<NumericFormat displayType="text" decimalScale={0} thousandSeparator={true} value={calculatePerDay(entry, baseSalary)} />
+                            {entry.date.format('DD MMMM YYYY')}{holidayName ? ` (${holidayName})` : ''}: Rp<NumericFormat displayType="text" decimalScale={0} thousandSeparator={true} value={calculatePerDay(entry, baseSalary, holidayData)} />
                         </Typography>
                     </div>
                 )
-- 
cgit v1.2.3-70-g09d2

