diff --git a/heat-stack/app/components/WeatherExample.tsx b/heat-stack/app/components/WeatherExample.tsx deleted file mode 100644 index 01fbb8b6..00000000 --- a/heat-stack/app/components/WeatherExample.tsx +++ /dev/null @@ -1,22 +0,0 @@ -import { loader } from "#app/root.tsx"; -import test from "@playwright/test"; -import { json } from "@remix-run/node"; // or cloudflare/deno -import { useLoaderData } from "@remix-run/react"; - -// weather `loader` is in root.tsx - -export function WeatherExample() { - - const one_loader = useLoaderData(); - if (!one_loader.weather) { - return
Loading weather...
; - } - const time: string = one_loader.weather.daily?.time[0] - const temp: number = one_loader.weather.daily?.temperature_2m_max[0] - - return ( -
- time/temp first item: {time}/{temp} -
- ); -} diff --git a/heat-stack/app/components/ui/heat/CaseSummaryComponents/CurrentHeatingSystem.tsx b/heat-stack/app/components/ui/heat/CaseSummaryComponents/CurrentHeatingSystem.tsx index 4866f871..11169f4f 100644 --- a/heat-stack/app/components/ui/heat/CaseSummaryComponents/CurrentHeatingSystem.tsx +++ b/heat-stack/app/components/ui/heat/CaseSummaryComponents/CurrentHeatingSystem.tsx @@ -23,46 +23,46 @@ export function CurrentHeatingSystem(props: CurrentHeatingSystemProps) { {/*
*/}
{' '} -
-