diff --git a/ui/src/components/card/card.tsx b/ui/src/components/card/card.tsx
index 1f3f11f1..8a1a6e17 100644
--- a/ui/src/components/card/card.tsx
+++ b/ui/src/components/card/card.tsx
@@ -15,14 +15,6 @@ export abstract class Card {
);
static readonly Header = CardStyles.Header;
- ({ children, ...props }, ref) => {
- return (
-
- {children}
-
- );
- }
- );
static readonly Body = forwardRef(
({ children, ...props }, ref) => {
diff --git a/ui/src/utils/color.ts b/ui/src/utils/color.ts
index 4422f616..a391255f 100644
--- a/ui/src/utils/color.ts
+++ b/ui/src/utils/color.ts
@@ -10,6 +10,5 @@ export const parseColorToNumber = (color: string): number => {
* Converts string number to hex color string.
*/
export const parseNumberToHexColor = (color: number): string => {
- const hexColor = color.toString(16);
- return hexColor;
+ return `${`000000${color.toString(16)}`.slice(-6)}`;
};