mirror of
https://github.com/penpot/penpot.git
synced 2026-02-12 22:53:02 +00:00
The color tokens in grid view have a tooltip which is a map. This is done so the frontend can render: ``` Name: foo Resolved value: #000000 ``` However the validation scheme for tooltips was only accepting functions and strings. --- How to reproduce the original (unreported) crash: * Create a color token * Create a shape, add a fill * Pick a color, chose the Token options * Click on the Grid View Crash: `{:hint "invalid props on component tooltip*\n\n -> 'content' should be a string\n"}` Signed-off-by: Dalai Felinto <dalai@blender.org> Co-authored-by: Dalai Felinto <dalai@blender.org>