Fix linting errors

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2021-10-16 11:07:09 +02:00
parent 74b0562fc8
commit c017df0a3c
24 changed files with 35 additions and 33 deletions

View file

@ -30,7 +30,7 @@ export const useReveal = (content: string, slideOptions?: SlideOptions): void =>
setDeck(reveal)
log.debug('Initialisation finished')
})
.catch((error) => {
.catch((error: Error) => {
log.error('Error while initializing reveal.js', error)
})
}, [isInitialized, slideOptions])