fix: inverted location logo (#11233)
Co-authored-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>pull/11223/merge
parent
4ef52aa2c6
commit
7e2ad3cea9
|
@ -21,7 +21,10 @@ function RenderIcon({
|
||||||
return (
|
return (
|
||||||
<img
|
<img
|
||||||
src={eventLocationType.iconUrl}
|
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`}
|
alt={`${eventLocationType.label} icon`}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue