Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit 786447c

Browse files
committed
fix(plugins/plugin-client-common): Tab uses strings rather than numbers for Close16 dimensions
Fixes #3771
1 parent a16b680 commit 786447c

File tree

1 file changed

+1
-1
lines changed
  • plugins/plugin-client-common/src/components/TopTabStripe

1 file changed

+1
-1
lines changed

plugins/plugin-client-common/src/components/TopTabStripe/Tab.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ export default class Tab extends React.PureComponent<Props, State> {
140140
this.props.onCloseTab(this.props.idx)
141141
}}
142142
>
143-
<Close16 focusable="false" width="12" height="16" preserveAspectRatio="xMidYMid meet" aria-hidden="true" />
143+
<Close16 focusable="false" width={12} height={16} preserveAspectRatio="xMidYMid meet" aria-hidden="true" />
144144
</div>
145145
)}
146146
</a>

0 commit comments

Comments
 (0)