react-admin-base-bootstrap 0.8.1 → 0.8.3

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.
@@ -86,7 +86,6 @@ export default function BootstrapTable({ url, bordered, noStrip, defaultParams,
86
86
  const [page, lastPage, setPage, data, itemPerPage, setItemPerPage, update] = useDataTable(url, params, body);
87
87
  const intl = useIntl();
88
88
  const [api] = useAuth();
89
- console.log(children[1]);
90
89
  const ref = useRef(defaultParams);
91
90
  useEffect(function () {
92
91
  if (ref.current !== defaultParams) {
@@ -4,7 +4,7 @@ interface CheckBoxProps extends InputProps {
4
4
  id: string;
5
5
  type?: "checkbox" | "radio";
6
6
  label?: React.ReactNode;
7
- children: React.ReactNode;
7
+ children?: React.ReactNode;
8
8
  }
9
9
  export default function CheckBox(props: CheckBoxProps): JSX.Element;
10
10
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-admin-base-bootstrap",
3
- "version": "0.8.1",
3
+ "version": "0.8.3",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -38,7 +38,7 @@
38
38
  "modal-cropper": "^1.2.3",
39
39
  "nprogress": "^0.2.0",
40
40
  "prettysize": "^2.0.0",
41
- "react-admin-base": "^0.7.3",
41
+ "react-admin-base": "^0.8.0",
42
42
  "react-password-strength-bar": "^0.4.1",
43
43
  "react-responsive": "^9.0.0",
44
44
  "react-select": "^5.4.0",
@@ -114,8 +114,6 @@ export default function BootstrapTable({url, bordered, noStrip, defaultParams, a
114
114
  const intl = useIntl();
115
115
  const [ api ] = useAuth();
116
116
 
117
- console.log(children[1]);
118
-
119
117
  const ref = useRef(defaultParams);
120
118
  useEffect(function () {
121
119
  if (ref.current !== defaultParams) {
@@ -5,7 +5,7 @@ interface CheckBoxProps extends InputProps {
5
5
  id: string;
6
6
  type?: "checkbox"|"radio";
7
7
  label?: React.ReactNode;
8
- children: React.ReactNode;
8
+ children?: React.ReactNode;
9
9
  }
10
10
 
11
11
  export default function CheckBox(props: CheckBoxProps) {