From 5783851415272d044f9c8f1067667927c092d464 Mon Sep 17 00:00:00 2001 From: Jun-te Kim Date: Mon, 19 Jan 2026 13:36:50 +0000 Subject: [PATCH] re run build --- src/app/api/sign-s3-url/route.ts | 1 + src/app/components/home/NewPortfolioModal.tsx | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/app/api/sign-s3-url/route.ts b/src/app/api/sign-s3-url/route.ts index 3b0714df..32138443 100644 --- a/src/app/api/sign-s3-url/route.ts +++ b/src/app/api/sign-s3-url/route.ts @@ -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({ diff --git a/src/app/components/home/NewPortfolioModal.tsx b/src/app/components/home/NewPortfolioModal.tsx index 89019aec..89a99c8a 100644 --- a/src/app/components/home/NewPortfolioModal.tsx +++ b/src/app/components/home/NewPortfolioModal.tsx @@ -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 = ({ name, selected, onSelect }: IconProps) => { - const iconComponents: iconComponentsType = { + const iconComponents: IconComponentsType = { "Valuation Improvement": , "Energy Savings": , // add more mappings here if needed