ts/features/wallet/onboarding/cobadge/screens/start/CoBadgeStartScreen.tsx
Function CoBadgeStartComponent
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const CoBadgeStartComponent = (props: Props): React.ReactElement => {
const { loadAbiConfig, maybeAbiSelected } = props;
const firstLoading = useRef(true);
// If a single ABI is selected, we should check the abiConfiguration
useEffect(() => {
Avoid too many return
statements within this function. Open
Open
return <CoBadgeStartKoUnavailable />;