gatsby-theme-q3 2.3.2 → 2.3.4
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +11 -0
- package/lib/components/Wrapper.js +1 -5
- package/package.json +3 -3
- package/src/components/Wrapper.jsx +1 -6
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,17 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
+
## [2.3.4](https://github.com/3merge/q/compare/v2.3.3...v2.3.4) (2021-12-10)
|
7
|
+
|
8
|
+
|
9
|
+
### Bug Fixes
|
10
|
+
|
11
|
+
* notistack ([4e40fa1](https://github.com/3merge/q/commit/4e40fa10a8c05ad07978b0f9dfcdb9317f67e712))
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
6
17
|
## [2.3.2](https://github.com/3merge/q/compare/v2.3.1...v2.3.2) (2021-12-09)
|
7
18
|
|
8
19
|
**Note:** Version bump only for package gatsby-theme-q3
|
@@ -11,8 +11,6 @@ var _axios = _interopRequireDefault(require("axios"));
|
|
11
11
|
|
12
12
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
13
13
|
|
14
|
-
var _q3UiForms = _interopRequireDefault(require("q3-ui-forms"));
|
15
|
-
|
16
14
|
var _q3UiPermissions = _interopRequireDefault(require("q3-ui-permissions"));
|
17
15
|
|
18
16
|
var _LocaleBundles = _interopRequireDefault(require("./LocaleBundles"));
|
@@ -33,9 +31,7 @@ const Wrapper = ({
|
|
33
31
|
setBaseUrlForRest(baseURL);
|
34
32
|
return /*#__PURE__*/_react.default.createElement(_LocaleBundles.default, {
|
35
33
|
locale: locale
|
36
|
-
}, /*#__PURE__*/_react.default.createElement(_q3UiPermissions.default, null,
|
37
|
-
preventDuplicate: true
|
38
|
-
}, children)));
|
34
|
+
}, /*#__PURE__*/_react.default.createElement(_q3UiPermissions.default, null, children));
|
39
35
|
};
|
40
36
|
|
41
37
|
Wrapper.defaultProps = {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "gatsby-theme-q3",
|
3
|
-
"version": "2.3.
|
3
|
+
"version": "2.3.4",
|
4
4
|
"main": "index.js",
|
5
5
|
"license": "MIT",
|
6
6
|
"peerDependencies": {
|
@@ -29,7 +29,7 @@
|
|
29
29
|
"gatsby-plugin-sharp": "^4.2.0",
|
30
30
|
"gatsby-plugin-sitemap": "^5.2.0",
|
31
31
|
"gatsby-source-contentful": "^7.0.0",
|
32
|
-
"gatsby-theme-q3-mui": "^2.3.
|
32
|
+
"gatsby-theme-q3-mui": "^2.3.4",
|
33
33
|
"gatsby-transformer-sharp": "^4.2.0",
|
34
34
|
"lodash": "^4.17.20",
|
35
35
|
"process": "^0.11.10",
|
@@ -41,5 +41,5 @@
|
|
41
41
|
"transform-loader": "^0.2.4",
|
42
42
|
"yarn": "^1.22.17"
|
43
43
|
},
|
44
|
-
"gitHead": "
|
44
|
+
"gitHead": "93a43d911ce0af48809ba3142404363c70932573"
|
45
45
|
}
|
@@ -2,7 +2,6 @@
|
|
2
2
|
import React from 'react';
|
3
3
|
import axios from 'axios';
|
4
4
|
import PropTypes from 'prop-types';
|
5
|
-
import FormProviders from 'q3-ui-forms';
|
6
5
|
import AuthProvider from 'q3-ui-permissions';
|
7
6
|
import LocaleBundles from './LocaleBundles';
|
8
7
|
|
@@ -19,11 +18,7 @@ const Wrapper = ({ baseURL, children, locale }) => {
|
|
19
18
|
|
20
19
|
return (
|
21
20
|
<LocaleBundles locale={locale}>
|
22
|
-
<AuthProvider>
|
23
|
-
<FormProviders preventDuplicate>
|
24
|
-
{children}
|
25
|
-
</FormProviders>
|
26
|
-
</AuthProvider>
|
21
|
+
<AuthProvider>{children}</AuthProvider>
|
27
22
|
</LocaleBundles>
|
28
23
|
);
|
29
24
|
};
|