@blocklet/pages-kit-runtime 0.4.83 → 0.4.84

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/client.js CHANGED
@@ -39,11 +39,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.RuntimeComponent = void 0;
40
40
  const jsx_runtime_1 = require("react/jsx-runtime");
41
41
  const Result_1 = __importDefault(require("@arcblock/ux/lib/Result"));
42
- const Spinner_1 = __importDefault(require("@arcblock/ux/lib/Spinner"));
43
42
  const js_sdk_1 = require("@blocklet/js-sdk");
44
43
  // @ts-ignore
45
44
  const home_1 = require("@blocklet/pages-kit-inner-components/home");
46
45
  const Box_1 = __importDefault(require("@mui/material/Box"));
46
+ const CircularProgress_1 = __importDefault(require("@mui/material/CircularProgress"));
47
47
  const ahooks_1 = require("ahooks");
48
48
  const react_1 = __importStar(require("react"));
49
49
  const ufo_1 = require("ufo");
@@ -216,7 +216,7 @@ const RuntimeComponent = (props) => {
216
216
  refreshDeps: [props.did, props.state, props.projectId],
217
217
  });
218
218
  if (loading) {
219
- return ((0, jsx_runtime_1.jsx)(CenteredContainer, { children: (0, jsx_runtime_1.jsx)(Spinner_1.default, {}) }));
219
+ return ((0, jsx_runtime_1.jsx)(CenteredContainer, { children: (0, jsx_runtime_1.jsx)(CircularProgress_1.default, {}) }));
220
220
  }
221
221
  if (!proxyState.rawState) {
222
222
  return ((0, jsx_runtime_1.jsx)(CenteredContainer, { children: (0, jsx_runtime_1.jsx)(Result_1.default, { status: 404 }) }));