Skip to content

Commit eeff84e

Browse files
committed
fix: Icon color was not correct for Custom provider
This icon was using `fill: currentColor` which is not good for Custom provivder icon; but `fill: inherit` as set with `preserveColor` does the job
1 parent c1ad4b9 commit eeff84e

File tree

1 file changed

+2
-2
lines changed
  • packages/cozy-search/src/components/CreateAssistantSteps

1 file changed

+2
-2
lines changed

packages/cozy-search/src/components/CreateAssistantSteps/Provider.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ const Provider = ({ selectedProvider, provider, onSelect }) => {
5353
)}
5454
>
5555
{
56-
/* FIXME: the twake icon is not rendered properly with Icon */
56+
/* FIXME: the twake icon is not rendered properly with Icon <TwakeLogo width={40} height={40} /> */
5757
isOpenRag ? (
5858
<TwakeLogo width={40} height={40} />
5959
) : (
60-
<Icon icon={ICONS[provider.icon]} size={40} />
60+
<Icon icon={ICONS[provider.icon]} size={40} preserveColor />
6161
)
6262
}
6363
</div>

0 commit comments

Comments
 (0)