Skip to content

Commit dea6dfc

Browse files
marklawlorCopilot
andauthored
Update src/native/styles/index.ts
Co-authored-by: Copilot <[email protected]>
1 parent 784a1f4 commit dea6dfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/native/styles/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ function nativeStyleMapping(
249249
let target = props;
250250
const tokens = path.split(".");
251251
const lastToken = tokens.pop();
252-
for (const token of tokens.slice(0, -1)) {
252+
for (const token of tokens) {
253253
target[token] ??= {};
254254
target = target[token];
255255
}

0 commit comments

Comments
 (0)