Skip to content

Commit

Permalink
use proper key to get connector icon for Header
Browse files Browse the repository at this point in the history
  • Loading branch information
kishkoigor committed Nov 11, 2024
1 parent 21e59f4 commit 0b062cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@airdao/ui-library",
"version": "2.0.3",
"version": "2.0.4",
"types": "./dist/types.d.ts",
"exports": {
".": {
Expand Down
4 changes: 2 additions & 2 deletions src/components/Header/components/HeaderBody.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ export function HeaderBody({
>
<img
src={
currentConnector.icon
? CONNECTOR_ICONS[currentConnector.icon]
currentConnector.name
? CONNECTOR_ICONS[currentConnector.name]
: ''
}
alt={currentConnector.name + 'icon'}
Expand Down

0 comments on commit 0b062cb

Please sign in to comment.