upd: notif pengumuman setelah login

Deskripsi:
- mengupdate set cookies
- mengupdate get cookies'

No Issues
This commit is contained in:
amel
2025-04-08 15:04:28 +08:00
parent bba7ddaff3
commit 75b75ea5e8
5 changed files with 42 additions and 32 deletions

View File

@@ -37,7 +37,7 @@ export default function ViewVerification({ phone, otp, user }: IVerification) {
async function getVerification() {
setLoading(true)
if (isOTP == inputOTP) {
const setCookies: any = await funSetCookies({ user: user })
const setCookies: any = await funSetCookies({ user: user, showNotification: true })
if (setCookies.success) {
toast.success(setCookies.message)