remove form diabling div from LockerStatus.jsx

This commit is contained in:
Md Asif 2024-12-27 16:34:18 +05:30
parent 6b19adf03e
commit 307d2621ce

View File

@ -125,18 +125,12 @@ function LockerStatus() {
<AnimatePresence> <AnimatePresence>
{notification.message !== "" && <Notification {...notification} />} {notification.message !== "" && <Notification {...notification} />}
</AnimatePresence> </AnimatePresence>
<div className="relative">
{notification.type === "success" && (
<div className="absolute inset-0 bg-[#fff]/50 z-10 rounded-3xl" />
)}
<FormBox title={t("lockerStatus")}> <FormBox title={t("lockerStatus")}>
<FieldsWrapper> <FieldsWrapper>{formFields.map(renderField)}</FieldsWrapper>
{formFields.map(renderField)}
</FieldsWrapper>
<Button text={t("submit")} onClick={handleSubmit} /> <Button text={t("submit")} onClick={handleSubmit} />
</FormBox> </FormBox>
</div> </div>
</div>
); );
} }