Fixes background not updating on profile

- fixes #110
This commit is contained in:
brecert 2021-09-17 19:44:19 -04:00
parent 3b9916c072
commit 945e072327
No known key found for this signature in database
GPG key ID: 1B2E56B9EC985B96

View file

@ -233,7 +233,7 @@ export function FileUploader(props: Props) {
? `url('${previewURL ?? defaultPreview}')` ? `url('${previewURL ?? defaultPreview}')`
: previewURL : previewURL
? `linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url('${previewURL}')` ? `linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url('${previewURL}')`
: "black", : "none",
width, width,
height, height,
}} }}