mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-29 06:15:29 -04:00
Fix linting errors
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
74b0562fc8
commit
c017df0a3c
24 changed files with 35 additions and 33 deletions
|
@ -39,7 +39,7 @@ export const ProfileAccessTokens: React.FC = () => {
|
|||
setShowAddedModal(true)
|
||||
setNewTokenLabel('')
|
||||
})
|
||||
.catch((error) => {
|
||||
.catch((error: Error) => {
|
||||
log.error(error)
|
||||
setError(true)
|
||||
})
|
||||
|
@ -52,7 +52,7 @@ export const ProfileAccessTokens: React.FC = () => {
|
|||
.then(() => {
|
||||
setSelectedForDeletion(0)
|
||||
})
|
||||
.catch((error) => {
|
||||
.catch((error: Error) => {
|
||||
log.error(error)
|
||||
setError(true)
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue