Remove unused weather aura layer from dashboard
This commit is contained in:
@@ -21,17 +21,6 @@ const MapCanvas = dynamic(
|
|||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
const WeatherAuraLayer = dynamic(
|
|
||||||
() =>
|
|
||||||
import("@/components/dashboard/WeatherAuraLayer").then(
|
|
||||||
(module) => module.WeatherAuraLayer,
|
|
||||||
),
|
|
||||||
{
|
|
||||||
ssr: false,
|
|
||||||
loading: () => null,
|
|
||||||
},
|
|
||||||
);
|
|
||||||
|
|
||||||
const HistoryModal = dynamic(
|
const HistoryModal = dynamic(
|
||||||
() =>
|
() =>
|
||||||
import("@/components/dashboard/HistoryModal").then(
|
import("@/components/dashboard/HistoryModal").then(
|
||||||
@@ -94,7 +83,6 @@ function DashboardScreen() {
|
|||||||
return (
|
return (
|
||||||
<div className={styles.root}>
|
<div className={styles.root}>
|
||||||
<MapCanvas />
|
<MapCanvas />
|
||||||
<WeatherAuraLayer />
|
|
||||||
<HeaderBar />
|
<HeaderBar />
|
||||||
<CitySidebar />
|
<CitySidebar />
|
||||||
<DetailPanel />
|
<DetailPanel />
|
||||||
|
|||||||
Reference in New Issue
Block a user