{
+ setSelectedLogoId(item.id);
+ form.setValues({
+ logo: item.name,
+ });
+ setLogoPopoverOpened(false);
+ }}
+ onMouseEnter={(e) => {
+ e.currentTarget.style.backgroundColor =
+ 'rgb(68, 68, 68)';
+ }}
+ onMouseLeave={(e) => {
+ e.currentTarget.style.backgroundColor =
+ 'transparent';
+ }}
+ >
+
+ {item.isDefault ? (
+
+ ) : item.id > 0 ? (
+
{
+ if (e.target.src !== logo) {
+ e.target.src = logo;
+ }
+ }}
+ />
+ ) : (
+
+ )}
+
+ {item.name}
+
+
+
+ );
+ }}
+