fix(SW-719): remove default value
This commit is contained in:
@@ -24,7 +24,5 @@ export function getScriptFontColor(theme: CardProps["theme"]) {
|
|||||||
return (color = "primaryStrong")
|
return (color = "primaryStrong")
|
||||||
case "image":
|
case "image":
|
||||||
return (color = "image")
|
return (color = "image")
|
||||||
default:
|
|
||||||
return "primaryLightOnSurfaceAccent"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,7 +24,5 @@ export function getFontColor(theme: CardProps["theme"]) {
|
|||||||
return (color = "primaryStrong")
|
return (color = "primaryStrong")
|
||||||
case "image":
|
case "image":
|
||||||
return (color = "image")
|
return (color = "image")
|
||||||
default:
|
|
||||||
return (color = "burgundy")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user