mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2025-01-08 12:07:42 +08:00
Fix sending request to /textures/undefined
This commit is contained in:
parent
5a5dbea05b
commit
908f191ac8
@ -257,7 +257,9 @@ const Show: React.FC = () => {
|
||||
})()
|
||||
|
||||
const canEdit = currentUid === texture.uploader || isAdmin
|
||||
const textureUrl = `${blessing.base_url}/textures/${texture.hash}`
|
||||
const textureUrl = texture.hash
|
||||
? `${blessing.base_url}/textures/${texture.hash}`
|
||||
: ''
|
||||
|
||||
return (
|
||||
<>
|
||||
|
Loading…
Reference in New Issue
Block a user