fix missing curly braces
This commit is contained in:
parent
a9b026380b
commit
5a7b607a4b
@ -111,14 +111,15 @@ function getColor(mapping, customData) {
|
|||||||
} catch (e) {
|
} catch (e) {
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
case ("black") :
|
case ("black"):
|
||||||
return `text-black`;
|
return `text-black`;
|
||||||
case ("white") :
|
case ("white"):
|
||||||
return `text-white`;
|
return `text-white`;
|
||||||
case ("theme") :
|
case ("theme"):
|
||||||
return `text-theme-500`;
|
return `text-theme-500`;
|
||||||
default:
|
default:
|
||||||
return ""
|
return ""
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export default function Component({ service }) {
|
export default function Component({ service }) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user