settings overhaul and reset

This commit is contained in:
makearmy 2025-10-05 18:58:55 -04:00
parent d3a1c3be8d
commit 8b3aa65e2e

View file

@ -64,15 +64,17 @@ export default function CO2GalvoPanel() {
) : (
<div className="w-full">
{id ? (
<>
<CO2GalvoDetail id={id} editable />
<div className="mt-2">
<button
className="px-2 py-1 border rounded text-sm"
onClick={() => setView("list")}
>
Back
</button>
<button
className="px-2 py-1 border rounded text-sm"
onClick={() => setView("list")}
>
Back
</button>
</div>
</>
) : (
<div className="text-sm text-muted-foreground">No record selected.</div>
)}