Skip to content

Commit

Permalink
fix(projects): fix SvgIcon inheritAttrs warning
Browse files Browse the repository at this point in the history
  • Loading branch information
honghuangdc committed Apr 8, 2024
1 parent 35310ed commit efc0e25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/custom/svg-icon.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { computed, useAttrs } from 'vue';
import { Icon } from '@iconify/vue';
defineOptions({ name: 'SvgIcon' });
defineOptions({ name: 'SvgIcon', inheritAttrs: false });
/**
* Props
Expand Down

0 comments on commit efc0e25

Please sign in to comment.