@fto-consult/expo-ui 6.74.5 → 6.74.8

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fto-consult/expo-ui",
3
- "version": "6.74.5",
3
+ "version": "6.74.8",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "main": "main",
6
6
  "scripts": {
@@ -169,7 +169,7 @@ const SWRDatagridComponent = React.forwardRef((props,ref)=>{
169
169
  testID = defaultStr(testID,"RNSWRDatagridComponent");
170
170
  React.useEffect(()=>{
171
171
  showProgressRef.current = false;
172
- });
172
+ },[showProgressRef.current.current]);
173
173
  const {error, isValidating,isLoading,data:result,refresh} = useSWR(fetchPath,{
174
174
  fetcher : (url,opts)=>{
175
175
  if(!isInitializedRef.current) {
@@ -232,7 +232,7 @@ const SWRDatagridComponent = React.forwardRef((props,ref)=>{
232
232
  },500);
233
233
  },[error]);
234
234
  const doRefresh = (showProgress)=>{
235
- showProgressRef.current = showProgress ? typeof showProgress ==='boolean' : showProgressRef.current;
235
+ showProgressRef.current = showProgress ? typeof showProgress ==='boolean' : false;
236
236
  refresh();
237
237
  }
238
238
  const canPaginate = ()=>{