Skip to content

Commit

Permalink
remove warnings and make tests pass again
Browse files Browse the repository at this point in the history
  • Loading branch information
elevatebart committed Nov 30, 2023
1 parent df91221 commit 45351c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion components/Accordion/vue/Accordion.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ import {
SVGAttributes,
onMounted,
ref,
toRaw,
useSlots,
} from 'vue'
import { CssClasses } from '@cypress-design/constants-accordion'
Expand Down Expand Up @@ -111,5 +112,5 @@ onMounted(function () {
}
})
const Icon = props.icon
const Icon = toRaw(props.icon)
</script>
2 changes: 1 addition & 1 deletion components/Spinner/vue/Spinner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { COLORS } from '@cypress-design/constants-spinner'
const props = withDefaults(
defineProps<{
variant: 'dark' | 'light'
variant?: 'dark' | 'light'
}>(),
{
variant: 'light',
Expand Down

0 comments on commit 45351c3

Please sign in to comment.