Skip to content

Commit 3e3d9d9

Browse files
committed
Fix vertical dash bg-color class issue
1 parent 3e53a95 commit 3e3d9d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/utils.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,5 +204,5 @@ export const VerticalDash = () => {
204204
const { primaryColor } = useContext(DatepickerContext);
205205
const bgColor = BG_COLOR["500"][primaryColor as keyof (typeof BG_COLOR)["500"]];
206206

207-
return <div className={`bg-blue-500 h-7 w-1 rounded-full hidden md:block ${bgColor}`} />;
207+
return <div className={`h-7 w-1 rounded-full hidden md:block ${bgColor || "bg-blue-500"}`} />;
208208
};

0 commit comments

Comments
 (0)