refactor: remove redundant plus icon and adjust layout in NotificationMaster event code form

This commit is contained in:
Yashwin 2026-06-10 12:26:06 +05:30
parent e6fb7687ba
commit bc7972a92a

View File

@ -413,9 +413,9 @@ const NotificationMaster = (): ReactElement => {
<Modal isOpen={codeModalOpen} onClose={() => setCodeModalOpen(false)} title={`Event Codes: ${selectedCategory?.name}`} maxWidth="2xl">
<div className="p-6 space-y-6">
{/* ── Add / Edit Code Form ─────────────────────────────────── */}
<div className="bg-gray-50 p-5 rounded-xl border border-gray-200 space-y-4 shadow-inner">
<h3 className="text-[11px] font-bold uppercase text-gray-500 tracking-wider font-mono flex items-center gap-2">
<Plus className="w-3 h-3" /> {editingCode ? 'Edit Event Code' : 'Add New Event Trigger'}
<div className="bg-gray-50 p-5 rounded-xl border border-gray-200 shadow-inner">
<h3 className="text-[11px] font-bold uppercase text-gray-500 tracking-wider font-mono flex items-center gap-2 pb-4">
{editingCode ? 'Edit Event Code' : 'Add New Event Trigger'}
</h3>
<div className="grid grid-cols-2 gap-4">