fix: react hooks issue fix #290
Annotations
12 warnings
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build:
src/App.bs.js#L33
React Hook React.useEffect has a missing dependency: 'setLoggerState'. Either include it or remove the dependency array
|
build:
src/CardUtils.bs.js#L839
React Hook React.useMemo has an unnecessary dependency: 'isCVCValid'. Either exclude it or remove the dependency array
|
build:
src/Components/AccordionContainer.bs.js#L121
React Hook React.useEffect has missing dependencies: 'layoutClass.defaultCollapsed' and 'setSelectedOption'. Either include them or remove the dependency array
|
build:
src/Components/AddressPaymentInput.bs.js#L140
React Hook React.useEffect has missing dependencies: 'setPostalCodes' and 'setStatesJson'. Either include them or remove the dependency array
|
build:
src/Components/AddressPaymentInput.bs.js#L180
React Hook React.useEffect has missing dependencies: 'checkPostalValidity', 'postalCode', and 'setPostalCode'. Either include them or remove the dependency array
|
build:
src/Components/AddressPaymentInput.bs.js#L192
React Hook React.useEffect has a missing dependency: 'setState'. Either include it or remove the dependency array
|
build:
src/Components/AddressPaymentInput.bs.js#L246
React Hook React.useCallback has missing dependencies: 'localeString.cityEmptyText', 'localeString.line1EmptyText', 'localeString.line2EmptyText', 'localeString.postalCodeEmptyText', 'localeString.stateEmptyText', 'setCity', 'setLine1', 'setLine2', 'setPostalCode', and 'setState'. Either include them or remove the dependency array
|
build:
src/Components/BillingNamePaymentInput.bs.js#L81
React Hook React.useCallback has missing dependencies: 'fieldName', 'localeString', 'optionalRequiredFields', and 'setBillingName'. Either include them or remove the dependency array
|
build:
src/Components/BlikCodePaymentInput.bs.js#L50
React Hook React.useEffect has a missing dependency: 'setblikCode'. Either include it or remove the dependency array
|
build:
src/Components/BlikCodePaymentInput.bs.js#L64
React Hook React.useCallback has a missing dependency: 'setblikCode'. Either include it or remove the dependency array
|