Tutorial #4
Annotations
10 errors and 10 warnings
|
build:
src/components/input/Input.tsx#L6
An interface declaring no members is equivalent to its supertype
|
|
build:
src/components/ProfilePageUserIcon.tsx#L75
Unexpected any. Specify a different type
|
|
build:
src/components/ProfilePageUserIcon.tsx#L75
'innerStyle' is never reassigned. Use 'const' instead
|
|
build:
src/components/ProfilePageUserIcon.tsx#L59
'files' is never reassigned. Use 'const' instead
|
|
build:
src/components/CopyInput.tsx#L12
'helperText' is assigned a value but never used
|
|
build:
src/components/CopyInput.tsx#L12
'errorText' is assigned a value but never used
|
|
build:
src/components/Billing/Modal/BillingModalChangeInfo.tsx#L13
Expected a `const` instead of a literal type assertion
|
|
build:
src/actions.ts#L223
Unexpected any. Specify a different type
|
|
build:
src/actions.ts#L193
Unexpected any. Specify a different type
|
|
build:
src/actions.ts#L71
Unexpected any. Specify a different type
|
|
build:
src/hooks/withTracking.tsx#L79
The 'allowedDomains' logical expression could make the dependencies of useEffect Hook (at line 101) change on every render. Move it inside the useEffect callback. Alternatively, wrap the initialization of 'allowedDomains' in its own useMemo() Hook
|
|
build:
src/hooks/useTrackUrl.tsx#L78
React Hook useEffect has missing dependencies: 'location.pathname', 'location.search', 'navigate', 'publicPath', and 'token'. Either include them or remove the dependency array
|
|
build:
src/hooks/useTrackUrl.tsx#L47
React Hook useEffect has missing dependencies: 'lastPath' and 'token'. Either include them or remove the dependency array
|
|
build:
src/hooks/useTrackUrl.tsx#L41
React Hook useEffect has missing dependencies: 'lastPath', 'location.search', 'publicPath', and 'token'. Either include them or remove the dependency array
|
|
build:
src/hooks/useHandleRedirectLogin.ts#L48
React Hook useEffect has a missing dependency: 'navigate'. Either include it or remove the dependency array
|
|
build:
src/hooks/useCaptureUtm.tsx#L23
React Hook useEffect has a missing dependency: 'UTM_KEYS'. Either include it or remove the dependency array
|
|
build:
src/components/modal/MobileMenuModal.tsx#L26
React Hook useEffect has a missing dependency: 'onClose'. Either include it or remove the dependency array. If 'onClose' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
|
build:
src/components/UI/Buttons/CopyButtonText.tsx#L40
React Hook useEffect has a missing dependency: 'checkClipboard'. Either include it or remove the dependency array
|
|
build:
src/AppHelmet.tsx#L43
React Hook useEffect has missing dependencies: 'location.pathname' and 'navigate'. Either include them or remove the dependency array
|
|
build:
src/App.tsx#L73
Fast refresh can't handle anonymous components. Add a name to your export
|