@faasjs/ant-design 0.0.2-beta.429 → 0.0.2-beta.430

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/dist/index.js CHANGED
@@ -1268,7 +1268,7 @@ function Title(props) {
1268
1268
  (0, import_react14.useEffect)(() => {
1269
1269
  const title = Array.isArray(props.title) ? props.title : [props.title];
1270
1270
  document.title = title.concat(props.suffix || Title2.suffix).filter((t) => !!t).join(props.separator || Title2.separator);
1271
- }, [props.title]);
1271
+ }, [props]);
1272
1272
  if (props.h1) {
1273
1273
  if (typeof props.h1 === "boolean")
1274
1274
  return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("h1", {
package/dist/index.mjs CHANGED
@@ -1265,7 +1265,7 @@ function Title(props) {
1265
1265
  useEffect6(() => {
1266
1266
  const title = Array.isArray(props.title) ? props.title : [props.title];
1267
1267
  document.title = title.concat(props.suffix || Title2.suffix).filter((t) => !!t).join(props.separator || Title2.separator);
1268
- }, [props.title]);
1268
+ }, [props]);
1269
1269
  if (props.h1) {
1270
1270
  if (typeof props.h1 === "boolean")
1271
1271
  return /* @__PURE__ */ jsx12("h1", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faasjs/ant-design",
3
- "version": "0.0.2-beta.429",
3
+ "version": "0.0.2-beta.430",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -28,7 +28,7 @@
28
28
  "lodash": "*",
29
29
  "react": "*",
30
30
  "react-dom": "*",
31
- "@faasjs/react": "^0.0.2-beta.429",
31
+ "@faasjs/react": "^0.0.2-beta.430",
32
32
  "react-router-dom": "*",
33
33
  "dayjs": "*"
34
34
  },