Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit 5f978f7

Browse files
committed
chore(menu): add changeset
1 parent 1e169f1 commit 5f978f7

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.changeset/large-birds-add.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
'nuxt-js': minor
3+
'@chakra-ui/vue': minor
4+
'@chakra-ui/nuxt': minor
5+
'@chakra-ui/theme-vue': minor
6+
'chakra-ui-docs': minor
7+
---
8+
9+
This PR fixes the error in the c-menu-option-group prop and allow the value prop to be passed as an array (#497)

packages/chakra-ui-core/src/utils/icons.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const createIcon = (prefix, icon) => {
1414
const createGroupedPath = (groups, prefix) => {
1515
const paths = groups.map((d, idx) =>
1616
createPath(d, {
17-
className: idx ? `${prefix}-primary` : `${prefix}-secondary`,
17+
className: idx ? `${prefix}-primary` : `${prefix}-secondary`
1818
})
1919
)
2020

@@ -32,7 +32,7 @@ const createIcon = (prefix, icon) => {
3232
return {
3333
path,
3434
viewBox: `0 0 ${w} ${h}`,
35-
attrs,
35+
attrs
3636
}
3737
}
3838

0 commit comments

Comments
 (0)