mirror of
https://github.com/mue/mue.git
synced 2026-07-14 20:43:54 +02:00
fix(react): Reverse commit 7179ee2 due to marketplace not loading
This commit is contained in:
@@ -289,7 +289,9 @@ class Marketplace extends PureComponent {
|
||||
);
|
||||
}
|
||||
|
||||
if (this.state.items?.length === 0) {
|
||||
// TODO: Fix marketplace not loading on react 18, this is a temporary fix but ungraceful
|
||||
// this.getItems();
|
||||
if (!this.state.items || this.state.items?.length === 0) {
|
||||
return (
|
||||
<>
|
||||
{errorMessage(
|
||||
|
||||
Reference in New Issue
Block a user