bvaughn/planner

little error

Amir-Alipour opened this issue · 2 comments

Hi bro, that's great ❤
i try to added new team metadata, when i changed the "name", i saw a error

Screenshot (68)

i think it can be fix with "?." operator

src/utils/color.js => line 2

export function hexToRgb(hex) {
  if (hex?.length === 4) {

Ah, right. The issue is that I only put in a few hard-coded colors to cycle through. I'll fix it with the way I'm cycling colors.

Fixed via aac420f