From 60b40aab5a4e97200c9754139853f7d4d242b99c Mon Sep 17 00:00:00 2001 From: kkmch Date: Thu, 21 Sep 2023 17:01:36 +0200 Subject: [PATCH] fix: use qa prop --- src/components/CardBase/CardBase.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/CardBase/CardBase.tsx b/src/components/CardBase/CardBase.tsx index d91eeeea7..d007dab79 100644 --- a/src/components/CardBase/CardBase.tsx +++ b/src/components/CardBase/CardBase.tsx @@ -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'; @@ -129,8 +130,8 @@ export const Layout = (props: CardBaseProps) => { extraProps={{ draggable: false, onDragStart: (e: React.DragEvent) => e.preventDefault(), - 'data-qa': qa }} + qa={qa} > {cardContent}