Skip to content

Commit

Permalink
fix: restore hover state for tx list
Browse files Browse the repository at this point in the history
  • Loading branch information
kyranjamie committed Sep 25, 2020
1 parent 2a2e20e commit c606227
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ interface TransactionListItemContainerProps extends FlexProps {
export const TransactionListItemContainer: FC<TransactionListItemContainerProps> = forwardRef(
(args, ref) => {
const { hovered, focused, txId, ...props } = args;

return (
<Flex
ref={ref}
Expand All @@ -21,6 +22,7 @@ export const TransactionListItemContainer: FC<TransactionListItemContainerProps>
textAlign="left"
position="relative"
outline={0}
zIndex={2}
data-txid={txId}
_before={listHoverProps(hovered)}
_after={listFocusedProps(focused)}
Expand Down

0 comments on commit c606227

Please sign in to comment.