diff --git a/packages/react-native/Libraries/Animated/nodes/AnimatedValue.js b/packages/react-native/Libraries/Animated/nodes/AnimatedValue.js index 2e500bf64b4..889bfa51825 100644 --- a/packages/react-native/Libraries/Animated/nodes/AnimatedValue.js +++ b/packages/react-native/Libraries/Animated/nodes/AnimatedValue.js @@ -9,7 +9,6 @@ */ import type {EventSubscription} from '../../vendor/emitter/EventEmitter'; -import type {PlatformConfig} from '../AnimatedPlatformConfig'; import type Animation, {EndCallback} from '../animations/Animation'; import type {InterpolationConfigType} from './AnimatedInterpolation'; import type AnimatedNode from './AnimatedNode'; @@ -132,11 +131,6 @@ export default class AnimatedValue extends AnimatedWithChildren { return this._value + this._offset; } - __makeNative(platformConfig: ?PlatformConfig): void { - super.__makeNative(platformConfig); - this.#ensureUpdateSubscriptionExists(); - } - #ensureUpdateSubscriptionExists(): void { if (this.#updateSubscription != null) { return; diff --git a/packages/react-native/Libraries/__tests__/__snapshots__/public-api-test.js.snap b/packages/react-native/Libraries/__tests__/__snapshots__/public-api-test.js.snap index 4da9beee52d..e6364898cbb 100644 --- a/packages/react-native/Libraries/__tests__/__snapshots__/public-api-test.js.snap +++ b/packages/react-native/Libraries/__tests__/__snapshots__/public-api-test.js.snap @@ -1109,7 +1109,6 @@ declare export default class AnimatedValue extends AnimatedWithChildren { __attach(): void; __detach(): void; __getValue(): number; - __makeNative(platformConfig: ?PlatformConfig): void; setValue(value: number): void; setOffset(offset: number): void; flattenOffset(): void;