|
1 | 1 | import { useTranslation } from "react-i18next"; |
2 | 2 | import { |
3 | | - style_nav, |
4 | | - style_nav_hierarchy, |
5 | | - style_nav_hierarchy_inactive, |
| 3 | + styleNav, |
| 4 | + styleNavHierarchy, |
| 5 | + styleNavHierarchyInactive, |
6 | 6 | } from "../../../../utils/eventDetailsUtils"; |
7 | 7 | import ButtonLikeAnchor from "../../../shared/ButtonLikeAnchor"; |
8 | 8 | import { ParseKeys } from "i18next"; |
@@ -33,41 +33,41 @@ const EventDetailsTabHierarchyNavigation = <T, >({ |
33 | 33 |
|
34 | 34 | /* Hierarchy navigation */ |
35 | 35 | return ( |
36 | | - <nav className="scope" style={style_nav}> |
| 36 | + <nav className="scope" style={styleNav}> |
37 | 37 | <ButtonLikeAnchor |
38 | 38 | extraClassName="breadcrumb-link scope" |
39 | 39 | style={ |
40 | 40 | hierarchyDepth === 0 |
41 | | - ? style_nav_hierarchy |
42 | | - : style_nav_hierarchy_inactive |
| 41 | + ? styleNavHierarchy |
| 42 | + : styleNavHierarchyInactive |
43 | 43 | } |
44 | 44 | onClick={() => openSubTab(subTabArgument0)} |
45 | 45 | > |
46 | 46 | {t(translationKey0)} |
47 | 47 | {hierarchyDepth > 0 && ( |
48 | | - <span style={style_nav_hierarchy_inactive}> </span> |
| 48 | + <span style={styleNavHierarchyInactive}> </span> |
49 | 49 | )} |
50 | 50 | </ButtonLikeAnchor> |
51 | 51 | {hierarchyDepth > 0 && subTabArgument1 && ( |
52 | 52 | <ButtonLikeAnchor |
53 | 53 | extraClassName="breadcrumb-link scope" |
54 | 54 | style={ |
55 | 55 | hierarchyDepth === 1 |
56 | | - ? style_nav_hierarchy |
57 | | - : style_nav_hierarchy_inactive |
| 56 | + ? styleNavHierarchy |
| 57 | + : styleNavHierarchyInactive |
58 | 58 | } |
59 | 59 | onClick={() => openSubTab(subTabArgument1)} |
60 | 60 | > |
61 | 61 | {translationKey1 && t(translationKey1)} |
62 | 62 | {hierarchyDepth > 1 && ( |
63 | | - <span style={style_nav_hierarchy_inactive}> </span> |
| 63 | + <span style={styleNavHierarchyInactive}> </span> |
64 | 64 | )} |
65 | 65 | </ButtonLikeAnchor> |
66 | 66 | )} |
67 | 67 | {hierarchyDepth > 1 && subTabArgument2 && ( |
68 | 68 | <ButtonLikeAnchor |
69 | 69 | extraClassName="breadcrumb-link scope" |
70 | | - style={style_nav_hierarchy} |
| 70 | + style={styleNavHierarchy} |
71 | 71 | onClick={() => openSubTab(subTabArgument2)} |
72 | 72 | > |
73 | 73 | {translationKey2 && t(translationKey2)} |
|
0 commit comments