remove form diabling div from LockerStatus.jsx
This commit is contained in:
parent
6b19adf03e
commit
307d2621ce
@ -125,17 +125,11 @@ function LockerStatus() {
|
|||||||
<AnimatePresence>
|
<AnimatePresence>
|
||||||
{notification.message !== "" && <Notification {...notification} />}
|
{notification.message !== "" && <Notification {...notification} />}
|
||||||
</AnimatePresence>
|
</AnimatePresence>
|
||||||
<div className="relative">
|
|
||||||
{notification.type === "success" && (
|
<FormBox title={t("lockerStatus")}>
|
||||||
<div className="absolute inset-0 bg-[#fff]/50 z-10 rounded-3xl" />
|
<FieldsWrapper>{formFields.map(renderField)}</FieldsWrapper>
|
||||||
)}
|
<Button text={t("submit")} onClick={handleSubmit} />
|
||||||
<FormBox title={t("lockerStatus")}>
|
</FormBox>
|
||||||
<FieldsWrapper>
|
|
||||||
{formFields.map(renderField)}
|
|
||||||
</FieldsWrapper>
|
|
||||||
<Button text={t("submit")} onClick={handleSubmit} />
|
|
||||||
</FormBox>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user