fix: error if no banner

This commit is contained in:
freeplay 2023-07-09 00:42:49 -04:00
parent b800864752
commit 141ab4a96b

View File

@ -27,7 +27,7 @@
:style="{
backgroundImage: `url('${user.bannerUrl}')`,
'--backgroundImageStatic': defaultStore
.state.useBlurEffect
.state.useBlurEffect && user.bannerUrl
? `url('${getStaticImageUrl(
user.bannerUrl,
)}')`