Skip to content

Commit 987d010

Browse files
committed
refact: unnecessary es6 feat rm
1 parent a2d195e commit 987d010

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/composables/useSlider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export default function useSlider (props, context, dependencies)
5959
if ((ariaLabelledby && ariaLabelledby.value) || (aria && Object.keys(aria.value).length)) {
6060
let handles = Array.isArray(value.value) ? value.value : [value.value]
6161

62-
defaultOptions.handleAttributes = handles.map(h => (Object.assign({}, aria.value, ariaLabelledby?.value ? {
62+
defaultOptions.handleAttributes = handles.map(h => (Object.assign({}, aria.value, ariaLabelledby && ariaLabelledby.value ? {
6363
'aria-labelledby': ariaLabelledby.value,
6464
}: {})))
6565
}

0 commit comments

Comments
 (0)