update add notification

This commit is contained in:
Raja Oktafrianto
2025-04-17 15:02:15 +07:00
parent 265981b9e6
commit f235ee4832

View File

@ -114,7 +114,7 @@ const AddDialog = () => {
e.preventDefault();
if (
formField.type.trim() === '' ||
formField.all_customer.trim() === '' ||
formField.via.trim() === '' ||
formField.content.trim() === ''
) {
@ -255,9 +255,7 @@ const AddDialog = () => {
<div className="w-full">
<div className="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
<label className="form-label flex items-center gap-1 max-w-56">
Type<span className="text-red-500">*</span>
</label>
<label className="form-label flex items-center gap-1 max-w-56">Type</label>
<div className="flex gap-6 items-center">
{['info', 'promo'].map((type) => (
<label key={type} className="flex items-center space-x-2">