Skip to content

Commit

Permalink
fix: use qa prop
Browse files Browse the repository at this point in the history
  • Loading branch information
kkmch committed Sep 21, 2023
1 parent 555b882 commit 60b40aa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/CardBase/CardBase.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@ import {Link} from '@gravity-ui/uikit';
import {useAnalytics} from '../../hooks';
import {useMetrika} from '../../hooks/useMetrika';
import {
AnalyticsEventsBase,
ButtonPixel,
CardBaseProps as CardBaseParams,
DefaultEventNames,
ImageProps,
MetrikaGoal,
WithChildren,
} from '../../models';
import {AnalyticsEventsBase, DefaultEventNames} from '../../models/common';
import {block, getQaAttrubutes} from '../../utils';
import BackgroundImage from '../BackgroundImage/BackgroundImage';
import RouterLink from '../RouterLink/RouterLink';
Expand Down Expand Up @@ -129,8 +130,8 @@ export const Layout = (props: CardBaseProps) => {
extraProps={{
draggable: false,
onDragStart: (e: React.DragEvent<HTMLAnchorElement>) => e.preventDefault(),
'data-qa': qa
}}
qa={qa}
>
{cardContent}
</Link>
Expand Down

0 comments on commit 60b40aa

Please sign in to comment.