Skip to content

Commit

Permalink
Remove edge runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
Ru Chern Chong committed Feb 14, 2024
1 parent 0e978a8 commit ef00f23
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions app/(cars)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ import { Car, PopularMake } from "@/types";
import { WebSite, WithContext } from "schema-dts";
import { fetchApi } from "@/utils/fetchApi";

export const runtime = "edge";

const Home = async () => {
const electricCars = await fetchApi<Car[]>(API_URL);

Expand Down
2 changes: 0 additions & 2 deletions app/[tab]/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { ComingSoon } from "@/components/ComingSoon";

export const runtime = "edge";

const TabPage = ({ params }: { params: { tab: string } }) => {
return <ComingSoon page={params.tab} />;
};
Expand Down
2 changes: 0 additions & 2 deletions app/coe/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import { API_URL } from "@/config";
import { fetchApi } from "@/utils/fetchApi";
import { COEResult } from "@/types";

export const runtime = "edge";

const COEPage = async () => {
const fetchHistoricalResult = fetchApi<COEResult[]>(`${API_URL}/coe`);
const fetchMonthlyResult = fetchApi<COEResult[]>(`${API_URL}/coe/latest`);
Expand Down

0 comments on commit ef00f23

Please sign in to comment.