Skip to content

Commit

Permalink
chore: remove redundant comments (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
zclsx authored Mar 12, 2024
1 parent 9831ae8 commit a6a93e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export const VueDraggable = defineComponent<IProps>({
}, {} as any)

const options = computed(() => {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
// eslint-disable-next-line
const { modelValue, ...rest } = toRefs(props)
const opt = Object.entries(rest).reduce((acc, [key, value]) => {
// @ts-ignore
Expand Down
2 changes: 1 addition & 1 deletion src/useDraggable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export function useDraggable<T>(...args: any[]): UseDraggableReturn {
}

function mergeOptions() {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
// eslint-disable-next-line
const { immediate, clone, ...restOptions } = unref(options) ?? {}
return mergeOptionsEvents(
list === null ? {} : presetOptions,
Expand Down

0 comments on commit a6a93e0

Please sign in to comment.