Skip to content

Commit 5857310

Browse files
committed
Add default value for required updateProps
1 parent f4027dc commit 5857310

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/js/sdk.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ export function wrap<P extends Record<string, unknown>>(
162162
const RootApp: React.FC<P> = (appProps) => {
163163
return (
164164
<TouchEventBoundary {...(options?.touchEventBoundaryProps ?? {})}>
165-
<ReactNativeProfiler {...profilerProps}>
165+
<ReactNativeProfiler {...profilerProps} updateProps={profilerProps.updateProps ?? {}}>
166166
<RootComponent {...appProps} />
167167
</ReactNativeProfiler>
168168
</TouchEventBoundary>

0 commit comments

Comments
 (0)