Skip to content

Commit

Permalink
chore(lint): fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Tahul committed Sep 18, 2022
1 parent ef490b7 commit d23a4e8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/runtime/components/GithubLink.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,8 @@ export default defineComponent({
throw new Error('If you want to use `GithubLink` component, you must specify: `owner`, `repo` and `branch`.')
}

let repo = props.repo
let owner = props.owner
let branch = props.branch
let contentDir = props.contentDir
// eslint-disable-next-line vue/no-setup-props-destructure
let { repo, owner, branch, contentDir } = props
let prefix = ''
const { sources } = useRuntimeConfig().content
let source
Expand Down

0 comments on commit d23a4e8

Please # to comment.