mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-08 11:37:25 +00:00
fixed typescript error
This commit is contained in:
parent
6df5dc4b23
commit
45c95340c8
1 changed files with 2 additions and 7 deletions
|
|
@ -4,19 +4,14 @@ import { useState } from "react";
|
|||
import AddressSearch from "./AddressSearch";
|
||||
import ScenarioSetup from "./ScenarioSetup";
|
||||
import RunAssessment from "./RunAssessment";
|
||||
import { ScenarioSelect } from "@/app/db/schema/recommendations";
|
||||
|
||||
export default function RemoteAssessmentClient({
|
||||
portfolioId,
|
||||
scenarios,
|
||||
}: {
|
||||
portfolioId: string;
|
||||
scenarios: {
|
||||
id: string;
|
||||
name: string;
|
||||
housingType: string;
|
||||
goal: string;
|
||||
goalValue: string | null;
|
||||
}[];
|
||||
scenarios: ScenarioSelect[];
|
||||
}) {
|
||||
const [selectedAddress, setSelectedAddress] = useState<string | null>(null);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue