fix([2fd88f42]): add react error boundary to debug blank page

This commit is contained in:
2026-02-04 11:59:58 +00:00
parent bbafb8562c
commit 3a30703342

View File

@@ -4,6 +4,7 @@ import './App.css';
import FileUpload from './components/FileUpload';
import FilterPanel from './components/FilterPanel';
import MapDisplay from './components/MapDisplay';
import ErrorBoundary from './components/ErrorBoundary';
// Define types for our state
export interface FilterOptions {
@@ -52,6 +53,7 @@ function App() {
};
return (
<ErrorBoundary>
<div className="App">
<header className="App-header">
<h1>German PLZ Heatmap Tool</h1>
@@ -76,6 +78,7 @@ function App() {
</div>
</main>
</div>
</ErrorBoundary>
);
}