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

View file

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