upd: notif pengumuman setelah login
Deskripsi: - mengupdate set cookies - mengupdate get cookies' No Issues
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user