thekevinscott / UpscalerJS

Useless template literal found JS-R1004
Anti-pattern
Minor
6 months agoa year old
Template string can be replaced with regular string literal
41        [styles.assumeHeight]: assumeHeight,
42      })}
43      style={{
44        width: height ? (open ? `calc(100% - 200px)` : `calc(100%)`) : undefined,45        minHeight,
46      }}
47    >
Template string can be replaced with regular string literal
41        [styles.assumeHeight]: assumeHeight,
42      })}
43      style={{
44        width: height ? (open ? `calc(100% - 200px)` : `calc(100%)`) : undefined,45        minHeight,
46      }}
47    >