mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-30 12:55:02 +00:00
re run build
This commit is contained in:
parent
11dd4aeb51
commit
5783851415
2 changed files with 5 additions and 4 deletions
|
|
@ -1,6 +1,7 @@
|
|||
// /app/api/sign-s3-url/route.ts
|
||||
import { NextResponse } from "next/server";
|
||||
import { S3Client, GetObjectCommand } from "@aws-sdk/client-s3";
|
||||
import { S3Clien}
|
||||
import { getSignedUrl } from "@aws-sdk/s3-request-presigner";
|
||||
|
||||
const s3 = new S3Client({
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { Dialog, Transition } from "@headlessui/react";
|
||||
import { Fragment, useState } from "react";
|
||||
import React, { Fragment, useState } from "react";
|
||||
import PoundIconSvg from "./PoundIconSvg";
|
||||
import LightBulbSvg from "./LightBulbSvg";
|
||||
import CarbonIcon from "./CarbonIcon";
|
||||
|
|
@ -21,12 +21,12 @@ const selectedIconClasses =
|
|||
const deSelectedIconClasses =
|
||||
"bg-gray-200 w-1/5 rounded-md h-1/5 cursor-pointer";
|
||||
|
||||
interface iconComponentsType {
|
||||
[key: string]: JSX.Element;
|
||||
interface IconComponentsType {
|
||||
[key: string]: React.ReactElement;
|
||||
}
|
||||
|
||||
const Icon: React.FC<IconProps> = ({ name, selected, onSelect }: IconProps) => {
|
||||
const iconComponents: iconComponentsType = {
|
||||
const iconComponents: IconComponentsType = {
|
||||
"Valuation Improvement": <PoundIconSvg fill="white" />,
|
||||
"Energy Savings": <LightBulbSvg fill="white" />,
|
||||
// add more mappings here if needed
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue