u
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user