26 lines
645 B
TypeScript
26 lines
645 B
TypeScript
// routes/landlord/properties/add.tsx
|
|
import { define } from "../../../utils.ts";
|
|
|
|
export const handler = define.handlers({
|
|
GET() {
|
|
return new Response("", {
|
|
status: 303,
|
|
headers: { Location: "/landlord/onboarding/property-setup" },
|
|
});
|
|
},
|
|
POST() {
|
|
return new Response("", {
|
|
status: 303,
|
|
headers: { Location: "/landlord/onboarding/property-setup" },
|
|
});
|
|
},
|
|
});
|
|
|
|
export default function AddPropertyRedirect() {
|
|
return (
|
|
<div class="min-h-screen bg-gray-50 flex items-center justify-center landlord-route">
|
|
<p class="text-gray-600">Redirecting to property setup...</p>
|
|
</div>
|
|
);
|
|
}
|