Skip to content

Commit d23a4e8

Browse files
committed
chore(lint): fix linting
1 parent ef490b7 commit d23a4e8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/runtime/components/GithubLink.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,8 @@ export default defineComponent({
8080
throw new Error('If you want to use `GithubLink` component, you must specify: `owner`, `repo` and `branch`.')
8181
}
8282

83-
let repo = props.repo
84-
let owner = props.owner
85-
let branch = props.branch
86-
let contentDir = props.contentDir
83+
// eslint-disable-next-line vue/no-setup-props-destructure
84+
let { repo, owner, branch, contentDir } = props
8785
let prefix = ''
8886
const { sources } = useRuntimeConfig().content
8987
let source

0 commit comments

Comments
 (0)