Skip to content

Commit

Permalink
refactor(icons): don't change iconName logic
Browse files Browse the repository at this point in the history
partial revert of #18876
  • Loading branch information
johnleider committed Feb 21, 2024
1 parent 09004a0 commit 8809f63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vuetify/src/composables/icons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ export const useIcon = (props: Ref<IconValue | undefined>) => {
setName => typeof icon === 'string' && icon.startsWith(`${setName}:`)
)

const iconName = iconSetName?.startsWith('svg') ? icon.slice(iconSetName.length + 1) : icon.replace(':', '-')
const iconName = iconSetName ? icon.slice(iconSetName.length + 1) : icon
const iconSet = icons.sets[iconSetName ?? icons.defaultSet]

return {
Expand Down

0 comments on commit 8809f63

Please sign in to comment.