Skip to content

Commit 7828c45

Browse files
committed
change modularcardtheme name to CLANCARD
1 parent 02c9e80 commit 7828c45

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

frontend-next-migration/src/preparedPages/ClanPages/ui/ClanAllSubPage/ClanAllSubPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ const ClansViewDesktop = ({ clans, onClickToClan }: DesktopProps) => {
181181
style={{ width: 'calc(50% - .5em)' }}
182182
>
183183
<ModularCard
184-
theme={ModularCardTheme.CLAN}
184+
theme={ModularCardTheme.CLANCARD}
185185
onClick={() => onClickToClan?.(clan._id)}
186186
role="button"
187187
tabIndex={0}

frontend-next-migration/src/shared/ui/v2/ModularCard/ui/ModularCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export enum ModularCardTheme {
2323
TITLEIMAGE = 'TitleImageCard',
2424
NEWSCARD = 'NewsImageCard',
2525
DEFENSECARD = 'DefenseCard',
26-
CLAN = 'ClanCard',
26+
CLANCARD = 'ClanCard',
2727
}
2828

2929
/**

0 commit comments

Comments
 (0)