pankeshpatel / mDiabetes

This is mDiabetes repository
1 stars 2 forks source link

ERROR Warning: Can't perform a React state update on an unmounted component. #1

Closed pankeshpatel closed 2 years ago

pankeshpatel commented 2 years ago
ERROR  Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in a useEffect cleanup function.
    in FoodCamera (at SceneView.tsx:126)
    in StaticContainer
    in EnsureSingleNavigator (at SceneView.tsx:118)
    in SceneView (at useDescriptors.tsx:210)
    in RCTView (at View.js:32)
    in View (at DebugContainer.native.tsx:27)
    in DebugContainer (at NativeStackView.native.tsx:75)
    in MaybeNestedStack (at NativeStackView.native.tsx:246)
    in RNSScreen (at createAnimatedComponent.js:211)
    in AnimatedComponent (at createAnimatedComponent.js:264)
    in AnimatedComponentWrapper (at src/index.native.tsx:252)
    in MaybeFreeze (at src/index.native.tsx:251)
    in Screen (at NativeStackView.native.tsx:179)
    in SceneView (at NativeStackView.native.tsx:296)