fix: fix svelte dev warning about pinIndex (#1729)

This commit is contained in:
Nolan Lawson 2020-03-08 12:01:23 -07:00 committed by GitHub
parent acddcab6ee
commit 912dda8778
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -123,7 +123,8 @@
export default {
store: () => store,
data: () => ({
pinnable: false
pinnable: false,
pinIndex: undefined
}),
computed: {
ariaLabel: ({ label, pinnable, $pinnedPage, href }) => {