interface RentalsOwnedProps { properties: Property[]; } import { Property } from "../db/interfaces.ts"; import { PopAddRentalDialog } from "./dialogs/PopAddRentalDialog.tsx"; export default function RentalsOwned({ properties }: RentalsOwnedProps) { const [popAddRental, popupAddRentalDialog] = PopAddRentalDialog(properties); return ( <> {popupAddRentalDialog}