Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ coverage/
.vercel/
.turbo/
next-env.d.ts
.vercel
.env*.local
4 changes: 0 additions & 4 deletions frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import { useEffect, useState, useMemo, useCallback, lazy, Suspense } from "react";
import type { CSSProperties } from "react";
import { useData } from "./data/useData";
import Masthead from "./components/Masthead";
import Hero from "./components/Hero";
import StatsBanner from "./components/StatsBanner";
import ControlBar from "./components/ControlBar";
Expand Down Expand Up @@ -165,7 +164,6 @@ export default function App() {
if (loading) {
return (
<>
{!isIframed && <Masthead />}
<Hero />
<div style={styles.loading} role="status" aria-live="polite">
<div style={styles.spinner} />
Expand All @@ -178,7 +176,6 @@ export default function App() {
if (error) {
return (
<>
{!isIframed && <Masthead />}
<Hero />
<div style={styles.error}>
<p>Error loading data: {error}</p>
Expand All @@ -189,7 +186,6 @@ export default function App() {

return (
<>
{!isIframed && <Masthead />}
<Hero />
<StatsBanner
totalCost={stats.totalCost}
Expand Down
Loading