diff --git a/src/components/main/Root.tsx b/src/components/main/Root.tsx index cf18798..94c446a 100644 --- a/src/components/main/Root.tsx +++ b/src/components/main/Root.tsx @@ -2,6 +2,7 @@ import React, { useState, useEffect, useContext } from "react"; import { LineChart, Line, CartesianGrid, XAxis, YAxis } from "recharts"; import { format, addDays } from "date-fns"; import { Dashboard } from "@/components/main/routes/Dashboard"; +import { Options } from "@/components/main/routes/Options"; import { loadStorageOrDefault, persistStorage, @@ -62,7 +63,7 @@ const Navigation = function ({ router }) { const Base = function ({ children }) { return ( -
+
{children}
@@ -92,8 +93,8 @@ const App: React.FC = () => { { ...routes.options, element: ( - -
Hello world!
, + + ), }, diff --git a/src/components/main/routes/Dashboard.tsx b/src/components/main/routes/Dashboard.tsx index 4fbced0..b5b6680 100644 --- a/src/components/main/routes/Dashboard.tsx +++ b/src/components/main/routes/Dashboard.tsx @@ -72,7 +72,10 @@ export const Dashboard = function ({ state, updateState }) { }, [state.dataCache, dateTime]); return ( -
+

Forecast

diff --git a/src/components/ui/DatePicker.tsx b/src/components/ui/DatePicker.tsx index 3f08017..916bb45 100644 --- a/src/components/ui/DatePicker.tsx +++ b/src/components/ui/DatePicker.tsx @@ -24,7 +24,7 @@ export const ForecastDatePicker = function ({ onChange, }) { return ( -