diff --git a/src/reanimated2/layoutReanimation/LayoutAnimationRepository.ts b/src/reanimated2/layoutReanimation/LayoutAnimationRepository.ts index acd411859f64..4a8f9c0e4eeb 100644 --- a/src/reanimated2/layoutReanimation/LayoutAnimationRepository.ts +++ b/src/reanimated2/layoutReanimation/LayoutAnimationRepository.ts @@ -7,7 +7,7 @@ import { processColor } from '../Colors'; runOnUI(() => { 'worklet'; - const configs: Record = {}; + const configs: Record = Object.create(null); const enteringAnimationForTag: Record = {}; global.LayoutAnimationRepository = {