tweak linting

This commit is contained in:
Pig Fang 2020-07-20 22:19:24 +08:00
parent 20b172c842
commit 8f2e48df52
No known key found for this signature in database
GPG Key ID: A8198F548DADA9E2
2 changed files with 2 additions and 1 deletions

View File

@ -13,6 +13,7 @@ rules:
'@typescript-eslint/no-unsafe-assignment': off
'@typescript-eslint/no-unsafe-member-access': off
'@typescript-eslint/no-unsafe-return': off
'@typescript-eslint/no-unused-vars': off
'@typescript-eslint/explicit-module-boundary-types': off
'@typescript-eslint/no-explicit-any': off
'@typescript-eslint/ban-ts-comment': off

View File

@ -236,7 +236,7 @@ const Show: React.FC = () => {
)
search.append('uploader', texture.uploader?.toString())
return `${blessing.base_url}/skinlib?${search}`
return `${blessing.base_url}/skinlib?${search.toString()}`
})()
const canEdit = currentUid === texture.uploader || isAdmin