forked from Mirrors/elk
chore: fix build
This commit is contained in:
parent
b8e68b106a
commit
342783eecc
1 changed files with 2 additions and 1 deletions
|
@ -58,7 +58,8 @@ function createSuggestionRenderer(): SuggestionOptions['render'] {
|
|||
})
|
||||
},
|
||||
|
||||
onBeforeUpdate(props) {
|
||||
// Use arrow function here because Nuxt will transform it incorrectly as Vue hook causing the build to fail
|
||||
onBeforeUpdate: (props) => {
|
||||
component.updateProps({ ...props, isPending: true })
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue