diff --git a/packages/ui/src/ui-component/cards/ItemCard.jsx b/packages/ui/src/ui-component/cards/ItemCard.jsx index f2774e1b..527e7037 100644 --- a/packages/ui/src/ui-component/cards/ItemCard.jsx +++ b/packages/ui/src/ui-component/cards/ItemCard.jsx @@ -91,7 +91,19 @@ const ItemCard = ({ data, images, onClick }) => { {data.description && ( - {data.description} + + {data.description} + )} {images && ( diff --git a/packages/ui/src/views/credentials/CredentialListDialog.jsx b/packages/ui/src/views/credentials/CredentialListDialog.jsx index b7001b7a..34c09b54 100644 --- a/packages/ui/src/views/credentials/CredentialListDialog.jsx +++ b/packages/ui/src/views/credentials/CredentialListDialog.jsx @@ -1,6 +1,6 @@ import { useState, useEffect } from 'react' import { createPortal } from 'react-dom' -import { useSelector, useDispatch } from 'react-redux' +import { useDispatch } from 'react-redux' import PropTypes from 'prop-types' import { List, ListItemButton, Dialog, DialogContent, DialogTitle, Box, OutlinedInput, InputAdornment, Typography } from '@mui/material' import { useTheme } from '@mui/material/styles' @@ -12,7 +12,6 @@ import { HIDE_CANVAS_DIALOG, SHOW_CANVAS_DIALOG } from '@/store/actions' const CredentialListDialog = ({ show, dialogProps, onCancel, onCredentialSelected }) => { const portalElement = document.getElementById('portal') - const customization = useSelector((state) => state.customization) const dispatch = useDispatch() const theme = useTheme() const [searchValue, setSearchValue] = useState('') @@ -58,7 +57,7 @@ const CredentialListDialog = ({ show, dialogProps, onCancel, onCredentialSelecte