Skip to content

Commit 0674ead

Browse files
Deepak OramDeepak Oram
authored andcommitted
refactor: changes
1 parent c2a69a6 commit 0674ead

3 files changed

Lines changed: 3 additions & 12 deletions

File tree

packages/blend/lib/components/StepperV2/HorizontalStepper/HorizontalStepperV2.tsx

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,7 @@ import { scheduleLiveRegionAnnouncement } from '../utils'
1313
import { HorizontalStepComponent } from './HorizontalStepComponent'
1414

1515
const HorizontalStepperV2 = forwardRef<HTMLDivElement, StepperV2Props>(
16-
(
17-
{
18-
steps,
19-
onStepClick,
20-
onSubstepClick: _onSubstepClick,
21-
clickable,
22-
...htmlProps
23-
},
24-
ref
25-
) => {
16+
({ steps, onStepClick, clickable, ...htmlProps }, ref) => {
2617
const stepperInstanceId = useId().replace(/:/g, '-')
2718

2819
const currentExplicitIndex = steps.findIndex(

packages/blend/lib/components/StepperV2/stepperV2.dark.tokens.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { ResponsiveStepperV2Tokens } from './stepperV2.tokens'
44
export const getStepperV2DarkTokens = (
55
foundationToken: FoundationTokenType
66
): ResponsiveStepperV2Tokens => {
7-
let circlePadding = {
7+
const circlePadding = {
88
paddingTop: '6px',
99
paddingRight: '6px',
1010
paddingBottom: '6px',

packages/blend/lib/components/StepperV2/stepperV2.light.tokens.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { ResponsiveStepperV2Tokens } from './stepperV2.tokens'
44
export const getStepperV2LightTokens = (
55
foundationToken: FoundationTokenType
66
): ResponsiveStepperV2Tokens => {
7-
let circlePadding = {
7+
const circlePadding = {
88
paddingTop: '6px',
99
paddingRight: '6px',
1010
paddingBottom: '6px',

0 commit comments

Comments
 (0)