We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef490b7 commit d23a4e8Copy full SHA for d23a4e8
src/runtime/components/GithubLink.ts
@@ -80,10 +80,8 @@ export default defineComponent({
80
throw new Error('If you want to use `GithubLink` component, you must specify: `owner`, `repo` and `branch`.')
81
}
82
83
- let repo = props.repo
84
- let owner = props.owner
85
- let branch = props.branch
86
- let contentDir = props.contentDir
+ // eslint-disable-next-line vue/no-setup-props-destructure
+ let { repo, owner, branch, contentDir } = props
87
let prefix = ''
88
const { sources } = useRuntimeConfig().content
89
let source
0 commit comments