Skip to content

Commit 09e3075

Browse files
authored
Merge pull request #1160 from dnum-mi/1159-dsfrcheckboxset-a-2-balises-script-qui-peuvent-etre-fusionnees
refactor(checkbox): fusionne les balises script en une seule
2 parents ed29909 + b3fd10d commit 09e3075

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/components/DsfrCheckbox/DsfrCheckboxSet.vue

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<script lang="ts">
1+
<script lang="ts" setup>
22
import type { DsfrCheckboxSetProps } from './DsfrCheckbox.types'
33
44
import { computed } from 'vue'
@@ -8,9 +8,6 @@ import { useRandomId } from '../../utils/random-utils'
88
import DsfrCheckbox from './DsfrCheckbox.vue'
99
1010
export type { DsfrCheckboxSetProps }
11-
</script>
12-
13-
<script lang="ts" setup>
1411
const props = withDefaults(defineProps<DsfrCheckboxSetProps>(), {
1512
titleId: () => useRandomId('checkbox', 'set'),
1613
errorMessage: '',

0 commit comments

Comments
 (0)