Skip to content

Commit dc3b5f3

Browse files
authoredMar 4, 2025
fix(🌎): fix cloneInstance bug on RN Web (#2998)
1 parent 0d4e4e4 commit dc3b5f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/skia/src/sksg/HostConfig.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ export const sksgHostConfig: SkiaHostConfig = {
181181

182182
return {
183183
type: instance.type,
184-
props: newProps,
184+
props: { ...newProps },
185185
children: keepChildren ? [...instance.children] : [],
186186
};
187187
},

0 commit comments

Comments
 (0)
Failed to load comments.