fix: inverted location logo (#11233)

Co-authored-by: Udit Takkar <[email protected]>
This commit is contained in:
Peer RichelsenandUdit Takkar authored and GitHub committed 2023-09-08 15:59:05 +01:00
1 parent 4ef52aa2c6
commit 7e2ad3cea9
1 file changed
+4 -1
@@ -21,7 +21,10 @@ function RenderIcon({
return (
<img
src={eventLocationType.iconUrl}
className="me-[10px] h-4 w-4 opacity-70 invert-[.65] dark:invert-0"
className={classNames(
eventLocationType?.iconUrl?.includes("-dark") && "dark:invert",
"me-[10px] h-4 w-4"
)}
alt={`${eventLocationType.label} icon`}
/>
);