Apply patch [skip ci]
This commit is contained in:
parent
d19d0657fe
commit
de156b5544
@ -147,6 +147,3 @@ export default function LeasedHome({ leases, properties }: LeasedHomeProps) {
|
|||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -536,4 +536,3 @@ export default define.page(
|
|||||||
);
|
);
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -42,7 +42,19 @@ export const handler = define.handlers({
|
|||||||
});
|
});
|
||||||
|
|
||||||
export default define.page(
|
export default define.page(
|
||||||
({ data }: { data: { stateData: SessionCookie; leases: Lease[]; properties: Property[]; user_name: string; isEncrypted: boolean; publicId: string; stateId: string } }) => (
|
(
|
||||||
|
{ data }: {
|
||||||
|
data: {
|
||||||
|
stateData: SessionCookie;
|
||||||
|
leases: Lease[];
|
||||||
|
properties: Property[];
|
||||||
|
user_name: string;
|
||||||
|
isEncrypted: boolean;
|
||||||
|
publicId: string;
|
||||||
|
stateId: string;
|
||||||
|
};
|
||||||
|
},
|
||||||
|
) => (
|
||||||
<main class="min-h-screen flex flex-col items-center justify-start pt-0">
|
<main class="min-h-screen flex flex-col items-center justify-start pt-0">
|
||||||
<WelcomeBar
|
<WelcomeBar
|
||||||
publicId={data.publicId}
|
publicId={data.publicId}
|
||||||
@ -52,7 +64,10 @@ export default define.page(
|
|||||||
stateId={data.stateId}
|
stateId={data.stateId}
|
||||||
/>
|
/>
|
||||||
<div class="w-full max-w-4xl px-8 sm:px-12 lg:px-24 mt-8">
|
<div class="w-full max-w-4xl px-8 sm:px-12 lg:px-24 mt-8">
|
||||||
<LeasedHome leases={data.leases || []} properties={data.properties || []} />
|
<LeasedHome
|
||||||
|
leases={data.leases || []}
|
||||||
|
properties={data.properties || []}
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
),
|
),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user