79182101

Date: 2024-11-12 17:16:21
Score: 0.5
Natty:
Report link

Since your function is returning an object return {'--bg-color': props.bgm}, it seems that this exact object is being passed as a backgroundImage value. Background-image property cannot consume this value.

Try to return correct css background-image value of type string as per MDN documentation

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Vasyl