mirror of
https://github.com/lemeow125/Ivy-Frontend.git
synced 2024-11-16 22:29:24 +08:00
Fixed products page error and loading status
This commit is contained in:
parent
9065274a18
commit
3ac7785c3c
1 changed files with 5 additions and 1 deletions
|
@ -30,8 +30,10 @@ export default function Products() {
|
|||
</h1>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div style={{ ...styles.content_column, ...{ alignItems: "center" } }}>
|
||||
<h1 style={{ ...styles.text_white, ...styles.text_L }}>
|
||||
Loading Products...
|
||||
Loading products...
|
||||
</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -48,6 +50,8 @@ export default function Products() {
|
|||
</h1>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div style={{ ...styles.content_column, ...{ alignItems: "center" } }}>
|
||||
<h1 style={{ ...styles.text_red, ...styles.text_L }}>
|
||||
Error loading products
|
||||
</h1>
|
||||
|
|
Loading…
Reference in a new issue