Skip to content
Unverified Commit dfecef5c authored by JacobLinCool's avatar JacobLinCool Committed by GitHub
Browse files

fix: return "" instead of return undefined (#1133)

the function renderGradient may return  undefined if colors.bgColor !== "object"

which may render "undefined" into svg
parent e088a161
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment