Fix delete icon background color in availability (#8810)

Co-authored-by: Bailey Pumfleet <bailey@pumfleet.co.uk>
This commit is contained in:
asadath1395
2023-05-10 15:15:13 +00:00
committed by GitHub
co-authored by Bailey Pumfleet
parent a7b2cfc90f
commit 97cfd1ffa7
@@ -197,7 +197,7 @@ export const DayRanges = <TFieldValues extends FieldValues>({
}}
/>
)}
{index !== 0 && <RemoveTimeButton index={index} remove={remove} className="text-default mx-2" />}
{index !== 0 && <RemoveTimeButton index={index} remove={remove} className="text-default mx-2 border-none" />}
</div>
</Fragment>
))}
@@ -218,7 +218,7 @@ const RemoveTimeButton = ({
<Button
type="button"
variant="icon"
color="minimal"
color="destructive"
StartIcon={Trash}
onClick={() => remove(index)}
className={className}