diff --git a/next.config.js b/next.config.js index 8e8c7c1..ae88795 100755 --- a/next.config.js +++ b/next.config.js @@ -2,9 +2,6 @@ const nextConfig = { reactStrictMode: true, swcMinify: true, - experimental: { - serverActions: true, - }, } module.exports = nextConfig diff --git a/src/app/components/MetarCard.tsx b/src/app/components/MetarCard.tsx index fadda96..72f98be 100644 --- a/src/app/components/MetarCard.tsx +++ b/src/app/components/MetarCard.tsx @@ -3,9 +3,6 @@ import { Metar, getMetars } from "@/js/weather" import Link from "next/link" export default async function MetarCard({airports}: {airports: Airport[]}) { - // await getMetars(defaultAirports).then((result) => { - // setMetars(result); - // }); const metars = await getMetars(airports); for (let i = 0; i < airports.length; i++) { airports[i].metar = metars[i]; @@ -35,7 +32,7 @@ export default async function MetarCard({airports}: {airports: Airport[]}) {