try to deploy

Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
This commit is contained in:
2026-07-13 21:27:56 +08:00
parent bfc4b9fc67
commit b1805cfe4d
87 changed files with 798 additions and 718 deletions
@@ -407,7 +407,7 @@ export default function AddLibraryUnit() {
};
const handleBack = () => {
if (step === 0) navigate(-1);
if (step === 0) navigate("/admin/units");
else setStep((s) => s - 1);
};
@@ -446,7 +446,7 @@ export default function AddLibraryUnit() {
<div className="w-full max-w-3xl mx-auto space-y-6">
<div className="flex items-center gap-3">
<Button type="button" variant="ghost" size="icon" onClick={() => navigate(-1)}>
<Button type="button" variant="ghost" size="icon" onClick={() => navigate("/admin/units")}>
<ArrowLeft className="h-4 w-4" />
</Button>
<div>