Skip to content

Commit

Permalink
chore: revert exp
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyJasonBennett committed Sep 3, 2023
1 parent abefc68 commit 4c4d4d0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/fiber/src/native/Canvas.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,7 @@ const CanvasImpl = /*#__PURE__*/ React.forwardRef<View, Props>(
// Overwrite onCreated to apply RN bindings
onCreated: (state: RootState) => {
// Bind events after creation
const { onPressMove, ...handlers } = state.events.handlers as any
setBind({ ...handlers, android_rippleConfig: { onPressMove } })
if (state.events) setBind(state.events.handlers)

// Bind render to RN bridge
const context = state.gl.getContext() as ExpoWebGLRenderingContext
Expand Down

0 comments on commit 4c4d4d0

Please sign in to comment.