@datawheel/data-explorer 0.3.10 → 0.3.11

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.
Files changed (2) hide show
  1. package/dist/main.mjs +6 -10
  2. package/package.json +1 -1
package/dist/main.mjs CHANGED
@@ -1716,7 +1716,6 @@ function serializePermalink(item) {
1716
1716
  function parsePermalink(cube, value) {
1717
1717
  const search = new URLSearchParams(value);
1718
1718
  const params = requestToQueryParams(cube, search);
1719
- console.log(search.get("chart"));
1720
1719
  return buildQuery({
1721
1720
  panel: search.get("panel") || "table",
1722
1721
  chart: search.get("chart") || "",
@@ -1776,7 +1775,6 @@ function useUpdatePermaLink({
1776
1775
  }
1777
1776
  function useKey(params = {}) {
1778
1777
  const queryItem = useSelector(selectCurrentQueryItem);
1779
- console.log(queryItem);
1780
1778
  if (isValidQuery(queryItem.params)) {
1781
1779
  return serializePermalink({ ...queryItem, params: { ...queryItem.params, ...params } });
1782
1780
  }
@@ -5291,14 +5289,12 @@ function ExplorerContent(props) {
5291
5289
  const serverConfig = useMemo(() => {
5292
5290
  return props.serverConfig !== void 0 ? props.serverConfig : {};
5293
5291
  }, [props.serverConfig]);
5294
- useEffect(() => {
5295
- useSetup(
5296
- props.serverURL,
5297
- serverConfig,
5298
- props.defaultDataLocale,
5299
- props.defaultCube
5300
- );
5301
- }, [props.serverURL, serverConfig, props.defaultDataLocale, props.defaultCube]);
5292
+ useSetup(
5293
+ props.serverURL,
5294
+ serverConfig,
5295
+ props.defaultDataLocale,
5296
+ props.defaultCube
5297
+ );
5302
5298
  const { classes } = useStyles4({ height: props.height });
5303
5299
  useEffect(() => {
5304
5300
  if (props.locale) translation.setLocale(props.locale);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datawheel/data-explorer",
3
- "version": "0.3.10",
3
+ "version": "0.3.11",
4
4
  "main": "./dist/main.mjs",
5
5
  "types": "./dist/main.d.mts",
6
6
  "files": [