Skip to content

Commit

Permalink
Merge pull request #95 from indec-it/fix/userMenuWarning
Browse files Browse the repository at this point in the history
fix(userMenu): fix warning
  • Loading branch information
maximilianoforlenza authored Jul 4, 2022
2 parents 97f2b6c + fceab26 commit 72f11c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@indec/react-commons",
"version": "5.4.0",
"version": "5.4.1",
"description": "Common reactjs components for apps",
"private": false,
"main": "index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Header/UserMenu/UserMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
} from '@chakra-ui/react';

const UserMenu = ({user, attributes, onLogout}) => (
<MenuList alignItems="center" mr={1} data-testid="user-menu" isOpen>
<MenuList alignItems="center" mr={1} data-testid="user-menu">
{(user.name && user.surname) && (
<MenuItem data-testid="attribute-name">
<Text
Expand Down

0 comments on commit 72f11c9

Please sign in to comment.