This commit is contained in:
sebseb7
2025-11-17 09:19:57 +01:00
parent 6b0ab27a3a
commit c82a6a8f62

View File

@@ -818,23 +818,8 @@ class ProductDetailPage extends Component {
); );
} }
// Fallback to loading message if no prerender content // Fallback to blank page if no prerender content
return ( return <div style={{ minHeight: "60vh" }} />;
<Box
sx={{
p: 4,
textAlign: "center",
display: "flex",
justifyContent: "center",
alignItems: "center",
minHeight: "60vh",
}}
>
<Typography variant="h2" component="h2" gutterBottom>
Produkt wird geladen...
</Typography>
</Box>
);
} }
if (error) { if (error) {