From
propagateChange({
- [startKey]: moment(change).format('YYYY-MM-DD'),
+ [startKey]: moment(change).format("YYYY-MM-DD"),
})}
minDate={new Date(minDate)}
maxDate={new Date(maxDate)}
@@ -139,10 +142,11 @@ class WidgetSettings extends PureComponent {
To
propagateChange({
- [endKey]: moment(change).format('YYYY-MM-DD'),
+ [endKey]: moment(change).format("YYYY-MM-DD"),
})}
minDate={new Date(minDate)}
maxDate={new Date(maxDate)}
@@ -153,6 +157,7 @@ class WidgetSettings extends PureComponent {
);
+ }
default:
return (
options &&
diff --git a/package.json b/package.json
index 5059981148..7f5ba01b5c 100644
--- a/package.json
+++ b/package.json
@@ -94,7 +94,7 @@
"@next/bundle-analyzer": "^10.0.1",
"@reduxjs/toolkit": "^1.4.0",
"@wordpress/api-fetch": "^3.19.1",
- "@worldresources/gfw-components": "^3.4.0",
+ "@worldresources/gfw-components": "^3.4.1",
"aws-sdk": "^2.291.0",
"axios": "^0.21.1",
"chroma-js": "^2.1.0",
diff --git a/yarn.lock b/yarn.lock
index 4b817e7638..8df449f949 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -3945,10 +3945,10 @@
lodash "^4.17.19"
react-native-url-polyfill "^1.1.2"
-"@worldresources/gfw-components@^3.4.0":
- version "3.4.0"
- resolved "https://registry.yarnpkg.com/@worldresources/gfw-components/-/gfw-components-3.4.0.tgz#06ff95f00fa4b52f2fcf15739c5ddba8c52780f2"
- integrity sha512-w9s2eYA/cVjXhKdaKr3hlkiWKkaZFSd5XAbIqUv8fZlIRp3cbNgRTYaSXene+NhScYc2NjBKye2hF5MveUU1JQ==
+"@worldresources/gfw-components@^3.4.1":
+ version "3.4.1"
+ resolved "https://registry.yarnpkg.com/@worldresources/gfw-components/-/gfw-components-3.4.1.tgz#30c223c54748720ab8cb19c07afc189a3444b613"
+ integrity sha512-oGzQ7D2fLOkmpBgsFN9dqE26SBjEsIKLGNdUmGVAY//dJUealkLi6BSddljYji4srVh4s4XBr10/DLbBIf/0sQ==
dependencies:
"@artsy/fresnel" "^1.1.0"
"@tippyjs/react" "^4.0.2"