fixed all back buttons

This commit is contained in:
2026-03-21 12:03:32 +01:00
parent c3edb8ad2e
commit d7b42f64b1
4 changed files with 6 additions and 6 deletions
@@ -202,7 +202,7 @@ export default function CustomerDetail({ portalCustomerId }: { portalCustomerId?
<div>
<div className="flex items-center justify-between mb-6">
<div className="flex items-center gap-3">
<Button variant="ghost" size="sm" onClick={() => navigate(-1)}>
<Button variant="ghost" size="sm" onClick={() => navigate(isCustomerPortal ? '/' : '/customers')}>
<ArrowLeft className="w-4 h-4" />
</Button>
<div>