fix: tenancy middleware order and ui consistency for user profile
This commit is contained in:
@@ -16,7 +16,9 @@ export default function TenantCreate() {
|
||||
};
|
||||
|
||||
return (
|
||||
<LandlordLayout title="新增客戶">
|
||||
<LandlordLayout
|
||||
title="新增客戶"
|
||||
>
|
||||
<div className="max-w-2xl">
|
||||
<div className="mb-6">
|
||||
<h1 className="text-2xl font-bold text-slate-900">新增客戶</h1>
|
||||
|
||||
@@ -26,7 +26,9 @@ export default function TenantEdit({ tenant }: Props) {
|
||||
};
|
||||
|
||||
return (
|
||||
<LandlordLayout title="編輯客戶">
|
||||
<LandlordLayout
|
||||
title="編輯客戶"
|
||||
>
|
||||
<div className="max-w-2xl">
|
||||
<div className="mb-6">
|
||||
<h1 className="text-2xl font-bold text-slate-900">編輯客戶</h1>
|
||||
|
||||
@@ -37,7 +37,9 @@ export default function TenantIndex({ tenants }: Props) {
|
||||
};
|
||||
|
||||
return (
|
||||
<LandlordLayout title="客戶管理">
|
||||
<LandlordLayout
|
||||
title="客戶管理"
|
||||
>
|
||||
<div className="space-y-6">
|
||||
{/* Header */}
|
||||
<div className="flex items-center justify-between">
|
||||
|
||||
@@ -45,7 +45,9 @@ export default function TenantShow({ tenant }: Props) {
|
||||
};
|
||||
|
||||
return (
|
||||
<LandlordLayout title="客戶詳情">
|
||||
<LandlordLayout
|
||||
title="客戶詳情"
|
||||
>
|
||||
<div className="max-w-3xl space-y-6">
|
||||
{/* Back Link */}
|
||||
<Link
|
||||
|
||||
Reference in New Issue
Block a user