@fixefy/fixefy-ui-components 0.1.63 → 0.1.65

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.
@@ -182,7 +182,8 @@ const FxAsyncDropdown = /*#__PURE__*/ _react.default.forwardRef((props, parentRe
182
182
  }) : _object_spread({}, fetcher.queryOptions.variables.where);
183
183
  }
184
184
  };
185
- const [fetch, { data, loading }] = (0, _client.useLazyQuery)((0, _graphqltag.gql)(fetcher.query), _object_spread_props(_object_spread({}, fetcher.queryOptions), {
185
+ const isLocal = fetcher.query.loc;
186
+ const [fetch, { data, loading }] = (0, _client.useLazyQuery)((0, _graphqltag.gql)(isLocal ? fetcher.query.loc.source.body : fetcher.query), _object_spread_props(_object_spread({}, fetcher.queryOptions), {
186
187
  variables: _object_spread_props(_object_spread({}, fetcher.queryOptions.variables), {
187
188
  where: getWhere(),
188
189
  skip: page * pageSize - pageSize,
package/package.json CHANGED
@@ -13,8 +13,8 @@
13
13
  "@react-spring/web": "^9.7.3",
14
14
  "graphql-tag": "^2.12.6",
15
15
  "next": "^13.5.3",
16
- "react": "18.2",
17
- "react-dom": "18.2",
16
+ "react": "17.0.2",
17
+ "react-dom": "17.0.2",
18
18
  "swc-loader": "^0.2.3"
19
19
  },
20
20
  "devDependencies": {
@@ -70,5 +70,5 @@
70
70
  "require": "./dist/index.js"
71
71
  }
72
72
  },
73
- "version": "0.1.63"
73
+ "version": "0.1.65"
74
74
  }