@blocklet/pages-kit-runtime 0.5.55 → 0.6.0
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
|
@@ -47,7 +47,12 @@ const CircularProgress_1 = __importDefault(require("@mui/material/CircularProgre
|
|
|
47
47
|
const ahooks_1 = require("ahooks");
|
|
48
48
|
const react_1 = __importStar(require("react"));
|
|
49
49
|
const ufo_1 = require("ufo");
|
|
50
|
-
const CenteredContainer = ({ children }) => ((0, jsx_runtime_1.jsx)(Box_1.default, {
|
|
50
|
+
const CenteredContainer = ({ children }) => ((0, jsx_runtime_1.jsx)(Box_1.default, { sx: {
|
|
51
|
+
display: 'flex',
|
|
52
|
+
justifyContent: 'center',
|
|
53
|
+
alignItems: 'center',
|
|
54
|
+
minHeight: '100vh',
|
|
55
|
+
}, children: children }));
|
|
51
56
|
const api = (0, js_sdk_1.createAxios)({
|
|
52
57
|
baseURL: (0, ufo_1.joinURL)(window?.blocklet?.prefix || ''),
|
|
53
58
|
});
|