Skip to content
Snippets Groups Projects
Commit a4861504 authored by Jure's avatar Jure
Browse files

fix(ui-toolkit): provide a parameter to catch

parent 7df15bd8
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@ const darkenLighten = (original, percent, props, dark) => {
let converted
try {
converted = Color(color)
} catch {
} catch (_) {
converted = Color('black')
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment