Skip to content

Commit b9149f2

Browse files
committed
fix(tasty): mod props priority * 2
1 parent 22f554c commit b9149f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tasty/tasty.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,8 +460,8 @@ function tastyElement<K extends StyleList, V extends VariantMap>(
460460
'data-element': (element as string | undefined) || defaultElement,
461461
'data-qa': (qa as string | undefined) || defaultQa,
462462
'data-qaval': (qaVal as string | undefined) || defaultQaVal,
463-
...(modProps || {}),
464463
...(otherDefaultProps as unknown as Record<string, unknown>),
464+
...(modProps || {}),
465465
...(otherProps as unknown as Record<string, unknown>),
466466
className: finalClassName,
467467
ref,

0 commit comments

Comments
 (0)