u
This commit is contained in:
@@ -818,23 +818,8 @@ class ProductDetailPage extends Component {
|
||||
);
|
||||
}
|
||||
|
||||
// Fallback to loading message if no prerender content
|
||||
return (
|
||||
<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>
|
||||
);
|
||||
// Fallback to blank page if no prerender content
|
||||
return <div style={{ minHeight: "60vh" }} />;
|
||||
}
|
||||
|
||||
if (error) {
|
||||
|
||||
Reference in New Issue
Block a user