From e6677c09ec0ed4166cd1f45255d1f4c122d5f69b Mon Sep 17 00:00:00 2001 From: arunshenoy99 Date: Wed, 25 Oct 2023 17:45:15 +0530 Subject: [PATCH] Add data-slug to primary and secondary chips --- .../SiteTypeSetup/PrimarySite/index.js | 1 + .../SiteTypeSetup/SecondarySite/index.js | 85 ++++++++++--------- 2 files changed, 44 insertions(+), 42 deletions(-) diff --git a/src/OnboardingSPA/steps/GetStarted/SiteTypeSetup/PrimarySite/index.js b/src/OnboardingSPA/steps/GetStarted/SiteTypeSetup/PrimarySite/index.js index 1158e2bc4..6a4cc0dc4 100644 --- a/src/OnboardingSPA/steps/GetStarted/SiteTypeSetup/PrimarySite/index.js +++ b/src/OnboardingSPA/steps/GetStarted/SiteTypeSetup/PrimarySite/index.js @@ -128,6 +128,7 @@ const StepPrimarySetup = () => { return (
{ return (
{
{ primaryTypesList && primaryTypesList.length > 1 && ( -
- - changePrimaryType( - 'back' - ) - } - onKeyUp={ () => - changePrimaryType( - 'back' - ) - } - role="button" - tabIndex={ 0 } - style={ { - backgroundImage: +
+ + changePrimaryType( + 'back' + ) + } + onKeyUp={ () => + changePrimaryType( + 'back' + ) + } + role="button" + tabIndex={ 0 } + style={ { + backgroundImage: 'var(--chevron-left-icon)', - } } - /> -
- ) } + } } + /> +
+ ) }
{
{ primaryTypesList && primaryTypesList.length > 1 && ( -
- - changePrimaryType( - 'next' - ) - } - onKeyUp={ () => - changePrimaryType( - 'next' - ) - } - role="button" - tabIndex={ 0 } - style={ { - backgroundImage: +
+ + changePrimaryType( + 'next' + ) + } + onKeyUp={ () => + changePrimaryType( + 'next' + ) + } + role="button" + tabIndex={ 0 } + style={ { + backgroundImage: 'var(--chevron-right-icon)', - } } - /> -
- ) } + } } + /> +
+ ) }
) }