diff --git a/package.json b/package.json
index cb67cb1..3499140 100644
--- a/package.json
+++ b/package.json
@@ -40,6 +40,7 @@
"embla-carousel-autoplay": "^7.1.0",
"embla-carousel-react": "^7.1.0",
"iron-session": "^8.0.2",
+ "jose": "^5.9.2",
"lodash": "^4.17.21",
"moment": "^2.30.1",
"mqtt": "^5.10.1",
@@ -53,6 +54,7 @@
"readdirp": "^3.6.0",
"recharts": "2",
"rrule": "^2.8.1",
+ "supabase": "^1.192.5",
"web-push": "^3.6.7",
"yargs": "^17.7.2"
},
@@ -68,7 +70,7 @@
"prisma": "^5.16.1",
"tailwindcss": "^3.4.1",
"ts-node": "^10.9.2",
- "typescript": "^5.5.3"
+ "typescript": "^5.6.2"
},
"description": "This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).",
"main": "index.js",
diff --git a/src/module/calender/ui/navbar_create_division_calender.tsx b/src/module/calender/ui/navbar_create_division_calender.tsx
index 74742de..522ecca 100644
--- a/src/module/calender/ui/navbar_create_division_calender.tsx
+++ b/src/module/calender/ui/navbar_create_division_calender.tsx
@@ -243,10 +243,11 @@ export default function NavbarCreateDivisionCalender() {
setTouched({ ...touched, repeatValue: false })
}}
onBlur={() => setTouched({ ...touched, repeatValue: true })}
+ // TODO :: NANTI DIPERBAIKI
error={
touched.repeatValue && (
- isData.repeatValue == "" ? "Jumlah pengulangan tidak boleh kosong" : null ||
- Number(isData.repeatValue) <= 0 ? "Jumlah pengulangan tidak boleh 0" : null
+ isData.repeatValue == "" ? "Jumlah pengulangan tidak boleh kosong" : ""
+ // || Number(isData.repeatValue) <= 0 ? "Jumlah pengulangan tidak boleh 0" : ""
)
}
/>
diff --git a/src/module/calender/ui/update_division_calender.tsx b/src/module/calender/ui/update_division_calender.tsx
index 148a2c7..0fa56bd 100644
--- a/src/module/calender/ui/update_division_calender.tsx
+++ b/src/module/calender/ui/update_division_calender.tsx
@@ -297,8 +297,8 @@ export default function UpdateDivisionCalender() {
onBlur={() => setTouched({ ...touched, repeatValue: true })}
error={
touched.repeatValue && (
- isDataCalender?.repeatValue == "" ? "Jumlah pengulangan tidak boleh kosong" : null ||
- Number(isDataCalender?.repeatValue) <= 0 ? "Jumlah pengulangan tidak boleh dibawah 1" : null
+ isDataCalender?.repeatValue == "" ? "Jumlah pengulangan tidak boleh kosong" : null
+ // || Number(isDataCalender?.repeatValue) <= 0 ? "Jumlah pengulangan tidak boleh dibawah 1" : null
)
}
/>
diff --git a/src/module/home/ui/view_home.tsx b/src/module/home/ui/view_home.tsx
index 4ee8bd5..2555a78 100644
--- a/src/module/home/ui/view_home.tsx
+++ b/src/module/home/ui/view_home.tsx
@@ -18,14 +18,14 @@ export default function ViewHome() {
return (
<>
- {
''
}
}
title='UPDATE'
- />
+ /> */}
{/*