fix: stroke color on pie and default report name
This commit is contained in:
@@ -100,8 +100,8 @@ export function Chart({ data }: Props) {
|
||||
return (
|
||||
<Cell
|
||||
key={item.id}
|
||||
strokeWidth={2}
|
||||
stroke={'#fff'}
|
||||
strokeWidth={4}
|
||||
className="stroke-background"
|
||||
fill={item.color}
|
||||
/>
|
||||
);
|
||||
|
||||
@@ -65,7 +65,7 @@ const EditReportName = ({ name }: Props) => {
|
||||
className="flex cursor-pointer select-none items-center gap-2 text-xl font-medium h-8 group"
|
||||
onClick={() => setIsEditing(true)}
|
||||
>
|
||||
{newName ?? 'Unnamed Report'}
|
||||
{newName || 'Unnamed Report'}
|
||||
<PencilIcon
|
||||
size={16}
|
||||
className="opacity-0 group-hover:opacity-100 transition-opacity"
|
||||
|
||||
Reference in New Issue
Block a user