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

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,
}} }}