@widergy/utilitygo-smart-bill-mobile 3.7.0 → 3.9.0

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 (27) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/package.json +18 -9
  3. package/src/lib/components/Banner/index.js +2 -2
  4. package/src/lib/components/BilledConsumption/components/ConsumptionInfo/index.js +0 -1
  5. package/src/lib/components/IconAndDetails/index.js +2 -5
  6. package/src/lib/components/NumberWithSuperIndex/index.js +4 -5
  7. package/src/lib/components/PeriodCard/index.js +4 -3
  8. package/src/lib/components/SmartBillSummary/components/AIDrawer/index.js +4 -4
  9. package/src/lib/components/SmartBillSummary/index.js +2 -5
  10. package/src/lib/components/SmartBillSummary/tabs/Billing/components/AccountCard/index.js +0 -1
  11. package/src/lib/components/SmartBillSummary/tabs/Billing/components/ActionCards/index.js +0 -1
  12. package/src/lib/components/SmartBillSummary/tabs/Billing/components/BillHeader/index.js +0 -1
  13. package/src/lib/components/SmartBillSummary/tabs/Billing/components/DebtStatusLabel/index.js +0 -1
  14. package/src/lib/components/SmartBillSummary/tabs/Billing/components/RateCard/components/ProgressBar/components/LinearProgress/index.js +0 -1
  15. package/src/lib/components/SmartBillSummary/tabs/Billing/components/RateCard/components/ProgressBar/index.js +6 -4
  16. package/src/lib/components/SmartBillSummary/tabs/Billing/components/RateCard/index.js +15 -12
  17. package/src/lib/components/SmartBillSummary/tabs/Billing/components/TitularCard/index.js +0 -1
  18. package/src/lib/components/SmartBillSummary/tabs/Billing/components/TotalCard/index.js +0 -1
  19. package/src/lib/components/SmartBillSummary/tabs/Billing/index.js +0 -1
  20. package/src/lib/components/SmartBillSummary/tabs/Consumptions/components/Billing/index.js +2 -2
  21. package/src/lib/components/SmartBillSummary/tabs/Consumptions/components/BimestralConsumption/index.js +0 -1
  22. package/src/lib/components/SmartBillSummary/tabs/Consumptions/components/CurrentConsumption/components/ConsumptionComparison/components/GradientBar/index.js +0 -1
  23. package/src/lib/components/SmartBillSummary/tabs/Consumptions/components/CurrentConsumption/components/ConsumptionComparison/index.js +2 -2
  24. package/src/lib/components/SmartBillSummary/tabs/Consumptions/components/CurrentConsumption/components/ConsumptionEvolution/index.js +2 -2
  25. package/src/lib/components/SmartBillSummary/tabs/Consumptions/components/CurrentConsumption/index.js +0 -1
  26. package/src/lib/components/SmartBillSummary/tabs/Consumptions/index.js +0 -1
  27. package/src/lib/components/SmartBillSummary/tabs/Glossary/index.js +0 -2
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ # [3.9.0](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/compare/v3.8.0...v3.9.0) (2026-02-10)
2
+
3
+
4
+ ### Features
5
+
6
+ * [DEV-766] mvp widergy/eslint-config package ([#56](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/issues/56)) ([9e87e33](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/commit/9e87e337b1672ae7e30febb9f6cd8d4f28e14ea1))
7
+
8
+ # [3.8.0](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/compare/v3.7.0...v3.8.0) (2026-02-02)
9
+
10
+
11
+ ### Features
12
+
13
+ * charge configuration ([#63](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/issues/63)) ([9bd0240](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/commit/9bd0240c1914d9f424373304f020afa0303f9d6d))
14
+
1
15
  # [3.7.0](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/compare/v3.6.1...v3.7.0) (2026-01-27)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@widergy/utilitygo-smart-bill-mobile",
3
- "version": "3.7.0",
3
+ "version": "3.9.0",
4
4
  "description": "UtilityGO SmartBill Mobile",
5
5
  "license": "MIT",
6
6
  "main": "src/lib/index.js",
@@ -19,23 +19,33 @@
19
19
  "@babel/preset-env": "^7.22.10",
20
20
  "@babel/preset-react": "^7.22.5",
21
21
  "@commitlint/cli": "^17.7.1",
22
+ "@eslint/compat": "^1.4.0",
23
+ "@eslint/eslintrc": "^3.3.0",
24
+ "@eslint/js": "^9.0.0",
22
25
  "@commitlint/config-conventional": "^17.7.0",
26
+ "@react-native/babel-preset": "0.79.5",
27
+ "@widergy/eslint-config": "^1.0.0",
23
28
  "@widergy/semantic-release-package-config": "^1.0.0",
24
29
  "babel-jest": "^29.6.2",
30
+ "babel-plugin-import-glob": "^2.0.0",
25
31
  "babel-plugin-module-resolver": "^5.0.0",
26
32
  "@react-native/metro-config": "^0.72.11",
27
33
  "@tsconfig/react-native": "^3.0.0",
28
34
  "@types/react": "^18.0.24",
29
35
  "@types/react-test-renderer": "^18.0.0",
30
36
  "@react-native/eslint-config": "^0.72.2",
31
- "eslint": "^8.47.0",
37
+ "eslint": "^9.38.0",
32
38
  "eslint-config-airbnb": "^19.0.4",
33
39
  "eslint-config-prettier": "^9.0.0",
34
40
  "eslint-import-resolver-babel-module": "^5.1.2",
41
+ "eslint-import-resolver-react-native": "^0.2.0",
35
42
  "eslint-plugin-import": "^2.28.0",
36
43
  "eslint-plugin-jsx-a11y": "^6.7.1",
37
44
  "eslint-plugin-prettier": "^5.0.0",
38
45
  "eslint-plugin-react": "^7.33.1",
46
+ "eslint-plugin-react-hooks": "^5.2.0",
47
+ "eslint-plugin-react-native": "^5.0.0",
48
+ "globals": "^16.4.0",
39
49
  "husky": "^8.0.0",
40
50
  "jest": "^29.6.2",
41
51
  "lint-staged": "^15.0.2",
@@ -46,16 +56,19 @@
46
56
  "react": "18.2.0",
47
57
  "react-native": "0.72.6",
48
58
  "react-test-renderer": "18.2.0",
59
+ "react-native-worklets": "^0.5.0",
49
60
  "typescript": "4.8.4",
50
- "semantic-release": "^15.13.31"
61
+ "semantic-release": "^15.13.31",
62
+ "typescript-eslint": "^8.46.4"
51
63
  },
52
64
  "scripts": {
53
65
  "lint:fix": "eslint --fix src",
54
- "lint": "eslint src",
66
+ "lint": "eslint src --cache --prune-suppressions",
67
+ "lint-suppress": "eslint src --cache --suppress-all",
55
68
  "lint-diff": "git diff --name-only --cached --relative --diff-filter=ACM | grep \\.js$ | xargs ./node_modules/eslint/bin/eslint.js",
56
69
  "android": "react-native run-android",
57
70
  "ios": "react-native run-ios",
58
- "start": "react-native start",
71
+ "start": "ESLINT_NO_DEV_ERRORS=true react-native start",
59
72
  "test": "jest",
60
73
  "build": "babel src/lib --out-dir dist",
61
74
  "prepare": "husky install"
@@ -81,9 +94,5 @@
81
94
  },
82
95
  "release": {
83
96
  "extends": "@widergy/semantic-release-package-config"
84
- },
85
- "resolutions": {
86
- "minimatch": "^9.0.3",
87
- "mixpanel-browser": "2.50.0"
88
97
  }
89
98
  }
@@ -11,14 +11,14 @@ const Banner = ({ image, url, style }) => (
11
11
  Linking.openURL(url);
12
12
  }}
13
13
  borderless
14
- style={[ownStyles.touchable, style]}>
14
+ style={[ownStyles.touchable, style]}
15
+ >
15
16
  <Image source={image} style={ownStyles.image} />
16
17
  </Touchable>
17
18
  );
18
19
 
19
20
  Banner.propTypes = {
20
21
  url: string,
21
- // eslint-disable-next-line react/forbid-prop-types
22
22
  image: any
23
23
  };
24
24
 
@@ -14,7 +14,6 @@ const ConsumptionInfo = ({ consumption }) => (
14
14
  );
15
15
 
16
16
  ConsumptionInfo.propTypes = {
17
- // eslint-disable-next-line react/forbid-prop-types
18
17
  consumption: any
19
18
  };
20
19
  export default ConsumptionInfo;
@@ -29,7 +29,8 @@ const IconAndDetails = ({
29
29
  {tooltipMessage}
30
30
  </Label>
31
31
  }
32
- position="top">
32
+ position="top"
33
+ >
33
34
  <Icon height={ICON_SIZE} width={ICON_SIZE} style={[ownStyles.icon, styles?.icon]} />
34
35
  </UTTooltip>
35
36
  )}
@@ -52,15 +53,11 @@ const IconAndDetails = ({
52
53
  );
53
54
 
54
55
  IconAndDetails.propTypes = {
55
- // eslint-disable-next-line react/forbid-prop-types
56
56
  Icon: any,
57
57
  mainText: string,
58
58
  secondaryText: string,
59
- // eslint-disable-next-line react/forbid-prop-types
60
59
  styles: any,
61
- // eslint-disable-next-line react/forbid-prop-types
62
60
  mainTextProps: any,
63
- // eslint-disable-next-line react/forbid-prop-types
64
61
  secondaryTextProps: any,
65
62
  tooltipMessage: string,
66
63
  mainTextDescription: string
@@ -31,7 +31,8 @@ const NumberWithSuperIndex = ({
31
31
  style={[styles.currency, theme.text, style?.currency]}
32
32
  {...props}
33
33
  {...currencyProps}
34
- useMarkdown={false}>
34
+ useMarkdown={false}
35
+ >
35
36
  $
36
37
  </Label>
37
38
  <Label style={[theme.text, style?.unit]} {...props} {...unitProps} useMarkdown={false}>
@@ -41,18 +42,16 @@ const NumberWithSuperIndex = ({
41
42
  style={[styles.decimal, theme.text, style?.decimal]}
42
43
  {...props}
43
44
  {...decimalProps}
44
- useMarkdown={false}>
45
+ useMarkdown={false}
46
+ >
45
47
  {decimal || '00'}
46
48
  </Label>
47
49
  </View>
48
50
  );
49
51
  };
50
52
  NumberWithSuperIndex.propTypes = {
51
- // eslint-disable-next-line react/forbid-prop-types
52
53
  currencyProps: shape(any),
53
- // eslint-disable-next-line react/forbid-prop-types
54
54
  unitProps: shape(any),
55
- // eslint-disable-next-line react/forbid-prop-types
56
55
  decimalProps: shape(any)
57
56
  };
58
57
 
@@ -47,7 +47,8 @@ const Period = ({
47
47
  <Label
48
48
  primary={billSummaryStep}
49
49
  h4
50
- bold={!billSummaryStep}>{`${billedPeriod} ${number}/${year}`}</Label>
50
+ bold={!billSummaryStep}
51
+ >{`${billedPeriod} ${number}/${year}`}</Label>
51
52
  ) : showSimplePeriod(bill) ? (
52
53
  <View style={[ownStyles.periodLabel, !showPeriod && ownStyles.centerText]}>
53
54
  <Label h4 primary bold={!billSummaryStep} semibold={billSummaryStep}>
@@ -83,7 +84,8 @@ const Period = ({
83
84
  {periodTooltip}
84
85
  </Label>
85
86
  }
86
- position="top">
87
+ position="top"
88
+ >
87
89
  <QuestionsIcon height={ICON_SIZE} width={ICON_SIZE} />
88
90
  </UTTooltip>
89
91
  </View>
@@ -96,7 +98,6 @@ const Period = ({
96
98
  };
97
99
 
98
100
  Period.propTypes = {
99
- // eslint-disable-next-line react/forbid-prop-types
100
101
  period: any,
101
102
  includeQuestionIcon: bool,
102
103
  showPeriod: bool,
@@ -1,5 +1,4 @@
1
1
  /* eslint-disable react/no-unstable-nested-components */
2
- /* eslint-disable react/forbid-prop-types */
3
2
  import React, { useEffect, useState } from 'react';
4
3
  import { UTBottomSheet, UTLabel, UTLoading, UTIcon } from '@widergy/mobile-ui';
5
4
  import { FlatList, View } from 'react-native';
@@ -65,7 +64,8 @@ const AIDrawer = ({
65
64
  ? styles.notEnoughBillsContainer
66
65
  : styles.errorAnswer
67
66
  : null
68
- ]}>
67
+ ]}
68
+ >
69
69
  {isLoading ? (
70
70
  <>
71
71
  <View style={styles.skeletonLoadingContainer}>
@@ -134,7 +134,6 @@ const AIDrawer = ({
134
134
 
135
135
  useEffect(() => {
136
136
  if (aiQuestionsListError && !aiQuestionsListLoading) handleClose();
137
- // eslint-disable-next-line react-hooks/exhaustive-deps
138
137
  }, [isOpen, aiQuestionsListError, aiQuestionsListLoading]);
139
138
 
140
139
  return (
@@ -143,7 +142,8 @@ const AIDrawer = ({
143
142
  title={drawerTitle}
144
143
  titleProps={{ variant: 'title3', weight: 'medium' }}
145
144
  visible={isOpen}
146
- withBodyPadding={false}>
145
+ withBodyPadding={false}
146
+ >
147
147
  <UTLoading loading={aiQuestionsListLoading} style={styles.loadingContainer}>
148
148
  <FlatList
149
149
  contentContainerStyle={styles.flatListContainer}
@@ -1,4 +1,3 @@
1
- /* eslint-disable react/forbid-prop-types */
2
1
  /* eslint-disable react/jsx-fragments */
3
2
  import React, { Fragment, useEffect, useState, useMemo, useCallback } from 'react';
4
3
  import { UTButton, UTLoading, UTTabs } from '@widergy/mobile-ui';
@@ -177,15 +176,12 @@ const SmartBillSummary = ({
177
176
  };
178
177
 
179
178
  checkAndStartOnboarding();
180
-
181
- // eslint-disable-next-line react-hooks/exhaustive-deps
182
179
  }, [start, loading]);
183
180
 
184
181
  useEffect(() => {
185
182
  if (defaultCurrentTab && defaultCurrentTab !== currentTab) {
186
183
  changeCurrentTab(defaultCurrentTab);
187
184
  }
188
- // eslint-disable-next-line react-hooks/exhaustive-deps
189
185
  }, [defaultCurrentTab]);
190
186
 
191
187
  useEffect(() => {
@@ -267,7 +263,8 @@ const SmartBillSummary = ({
267
263
  styles.AIContainer,
268
264
  isWalkthroughOn && styles.borderContainerButton,
269
265
  isVisibleAIButton && styles.border
270
- ]}>
266
+ ]}
267
+ >
271
268
  <UTButton
272
269
  colorTheme="primary"
273
270
  Icon="EnergyIconChatSparkFilled"
@@ -1,4 +1,3 @@
1
- /* eslint-disable react/forbid-prop-types */
2
1
  import React from 'react';
3
2
  import { Surface, UTLabel } from '@widergy/mobile-ui';
4
3
  import { View } from 'react-native';
@@ -1,4 +1,3 @@
1
- /* eslint-disable react/forbid-prop-types */
2
1
  import React from 'react';
3
2
  import { UTActionCard } from '@widergy/mobile-ui';
4
3
  import { View } from 'react-native';
@@ -1,4 +1,3 @@
1
- /* eslint-disable react/forbid-prop-types */
2
1
  import React from 'react';
3
2
  import { Surface, UTLabel, UTStatus } from '@widergy/mobile-ui';
4
3
  import { View, Image } from 'react-native';
@@ -1,4 +1,3 @@
1
- /* eslint-disable react/forbid-prop-types */
2
1
  import React from 'react';
3
2
  import { UTIcon, UTLabel } from '@widergy/mobile-ui';
4
3
  import { bool, object, string } from 'prop-types';
@@ -1,4 +1,3 @@
1
- /* eslint-disable react/forbid-prop-types */
2
1
  import React from 'react';
3
2
  import { View } from 'react-native';
4
3
  import { bool, number, object } from 'prop-types';
@@ -1,4 +1,3 @@
1
- /* eslint-disable react/forbid-prop-types */
2
1
  /* eslint-disable react-native/no-inline-styles */
3
2
  import React, { useState } from 'react';
4
3
  import { arrayOf, bool, number, object, oneOfType, shape, string } from 'prop-types';
@@ -52,7 +51,8 @@ const ProgressBar = ({
52
51
  colors={DEFAULT_GRADIENT_COLORS}
53
52
  start={{ x: 0, y: 0 }}
54
53
  end={{ x: 1, y: 0 }}
55
- style={styles.progressBackground}>
54
+ style={styles.progressBackground}
55
+ >
56
56
  {data.asMutable({ deep: true }).map(({ range, name }) => {
57
57
  const isLast = range[1] === 'Infinity';
58
58
  const width = isLast ? '20%' : `${(range[1] / totalRange) * 100}%`;
@@ -66,7 +66,8 @@ const ProgressBar = ({
66
66
  width,
67
67
  flexGrow: isLast ? 1 : 0
68
68
  }
69
- ]}>
69
+ ]}
70
+ >
70
71
  <UTLabel style={styles.segmentName} colorTheme="gray" variant="xsmall">
71
72
  {name}
72
73
  </UTLabel>
@@ -126,7 +127,8 @@ const ProgressBar = ({
126
127
 
127
128
  {shouldRenderDynamicLabel && (
128
129
  <View
129
- style={[styles.dinamicLabel, { left: getDynamicPosition(consumptionPercentage, barWidth) }]}>
130
+ style={[styles.dinamicLabel, { left: getDynamicPosition(consumptionPercentage, barWidth) }]}
131
+ >
130
132
  <UTLabel colorTheme="gray" variant="xsmall">
131
133
  {dynamicLabel}
132
134
  </UTLabel>
@@ -1,4 +1,3 @@
1
- /* eslint-disable react/forbid-prop-types */
2
1
  import React, { useEffect, useMemo } from 'react';
3
2
  import { Linking, View } from 'react-native';
4
3
  import { Surface, UTButton, UTLabel } from '@widergy/mobile-ui';
@@ -21,6 +20,7 @@ const RateCard = ({
21
20
  consumptionLevels,
22
21
  currentPeriod,
23
22
  formatAmount,
23
+ hasCharge = true,
24
24
  normalizedRate = '',
25
25
  rateCardTranslations = {},
26
26
  ratesTableLink,
@@ -140,16 +140,17 @@ const RateCard = ({
140
140
  </View>
141
141
 
142
142
  <View style={styles.footer}>
143
- {charges.map(({ concept, amount }) => (
144
- <View style={styles.detail} key={concept}>
145
- <UTLabel style={styles.detailTitle} weight="medium">
146
- {upperFirst(concept)}
147
- </UTLabel>
148
- <UTLabel variant="subtitle1" weight="medium">
149
- {formatAmount?.(amount) || '-'}
150
- </UTLabel>
151
- </View>
152
- ))}
143
+ {hasCharge &&
144
+ charges.map(({ concept, amount }) => (
145
+ <View style={styles.detail} key={concept}>
146
+ <UTLabel style={styles.detailTitle} weight="medium">
147
+ {upperFirst(concept)}
148
+ </UTLabel>
149
+ <UTLabel variant="subtitle1" weight="medium">
150
+ {formatAmount?.(amount) || '-'}
151
+ </UTLabel>
152
+ </View>
153
+ ))}
153
154
 
154
155
  <View style={styles.footerAction}>
155
156
  {externalLinks.map(({ link, label }, index) => (
@@ -164,7 +165,8 @@ const RateCard = ({
164
165
  childrenContainer: styles.footerActionChildren,
165
166
  icon: styles.icon
166
167
  }}
167
- variant="text">
168
+ variant="text"
169
+ >
168
170
  <UTLabel colorTheme="neutral" weight="medium">
169
171
  {label}
170
172
  </UTLabel>
@@ -183,6 +185,7 @@ RateCard.propTypes = {
183
185
  consumptionLevels: array,
184
186
  currentPeriod: object,
185
187
  formatAmount: func,
188
+ hasCharge: bool,
186
189
  normalizedRate: string,
187
190
  rateCardTranslations: object,
188
191
  ratesTableLink: string,
@@ -1,4 +1,3 @@
1
- /* eslint-disable react/forbid-prop-types */
2
1
  import React from 'react';
3
2
  import { Surface, UTLabel } from '@widergy/mobile-ui';
4
3
  import { View } from 'react-native';
@@ -1,4 +1,3 @@
1
- /* eslint-disable react/forbid-prop-types */
2
1
  import React from 'react';
3
2
  import { Surface, UTLabel } from '@widergy/mobile-ui';
4
3
  import { View } from 'react-native';
@@ -1,4 +1,3 @@
1
- /* eslint-disable react/forbid-prop-types */
2
1
  import React from 'react';
3
2
  import { View } from 'react-native';
4
3
  import { array, func, object, shape, string } from 'prop-types';
@@ -1,4 +1,3 @@
1
- /* eslint-disable react/forbid-prop-types */
2
1
  import React from 'react';
3
2
  import { bool, object, string } from 'prop-types';
4
3
  import { Surface, UTIcon, UTLabel } from '@widergy/mobile-ui';
@@ -68,7 +67,8 @@ const Billing = ({
68
67
  colorTheme={current ? 'success' : 'gray'}
69
68
  variant="xsmall"
70
69
  weight="medium"
71
- withMarkdown>
70
+ withMarkdown
71
+ >
72
72
  {tagLabel(current)}
73
73
  </UTLabel>
74
74
  </View>
@@ -1,4 +1,3 @@
1
- /* eslint-disable react/forbid-prop-types */
2
1
  import React from 'react';
3
2
  import { UTActionCard, UTLabel } from '@widergy/mobile-ui';
4
3
  import { object } from 'prop-types';
@@ -1,4 +1,3 @@
1
- /* eslint-disable react/forbid-prop-types */
2
1
  import React from 'react';
3
2
  import { bool, number, object } from 'prop-types';
4
3
  import { Rect, Svg, Defs, LinearGradient, Stop } from 'react-native-svg';
@@ -1,4 +1,3 @@
1
- /* eslint-disable react/forbid-prop-types */
2
1
  /* eslint-disable react/jsx-fragments */
3
2
  import React, { Fragment } from 'react';
4
3
  import { UTLabel } from '@widergy/mobile-ui';
@@ -20,7 +19,8 @@ const ConsumptionComparison = ({ colors, periodsToCompare = [], texts }) => {
20
19
  <UTLabel
21
20
  colorTheme="gray"
22
21
  style={showComparison ? styles.consumptionComparisonLabel : styles.consumptionComparisonLabelNoData}
23
- variant="small">
22
+ variant="small"
23
+ >
24
24
  {title}
25
25
  </UTLabel>
26
26
  {showComparison && (
@@ -1,4 +1,3 @@
1
- /* eslint-disable react/forbid-prop-types */
2
1
  import React from 'react';
3
2
  import { UTActionCard, UTIcon, UTLabel } from '@widergy/mobile-ui';
4
3
  import { View } from 'react-native';
@@ -30,7 +29,8 @@ const ConsumptionEvolution = ({ assets, colors, periods, texts }) => {
30
29
  description={description}
31
30
  title={title}
32
31
  titleProps={{ variant: 'title3', weight: 'medium' }}
33
- surfaceElevation={0}>
32
+ surfaceElevation={0}
33
+ >
34
34
  <View style={styles.childrenContainer}>
35
35
  <View style={styles.chipContainer}>
36
36
  <UTIcon area colorTheme={colorTheme} name={icon} shade={shade} size={size} />
@@ -1,4 +1,3 @@
1
- /* eslint-disable react/forbid-prop-types */
2
1
  import React from 'react';
3
2
  import { Surface, UTLabel } from '@widergy/mobile-ui';
4
3
  import { View } from 'react-native';
@@ -1,4 +1,3 @@
1
- /* eslint-disable react/forbid-prop-types */
2
1
  import React from 'react';
3
2
  import { UTLabel } from '@widergy/mobile-ui';
4
3
  import { View } from 'react-native';
@@ -1,4 +1,3 @@
1
- /* eslint-disable react/forbid-prop-types */
2
1
  import React, { useEffect, useMemo, useState } from 'react';
3
2
  import { Image, ScrollView, View } from 'react-native';
4
3
  import { UTButton, UTLabel, UTLoading } from '@widergy/mobile-ui';
@@ -64,7 +63,6 @@ const Glossary = ({ constants = {}, handlers = {}, translations = {} }) => {
64
63
 
65
64
  useEffect(() => {
66
65
  getGlossaryData?.();
67
- // eslint-disable-next-line react-hooks/exhaustive-deps
68
66
  }, []);
69
67
 
70
68
  useEffect(() => {