fix(tour): update missing dependency (#55295)

This commit is contained in:
lijianan
2025-10-14 08:07:18 +08:00
committed by GitHub
parent 7a520404aa
commit 63e2dfd682

View File

@@ -40,7 +40,7 @@ const Tour: React.FC<TourProps> & { _InternalPanelDoNotUseOrYouWillBeFired: type
[`${prefixCls}-primary`]: (step.type ?? type) === 'primary',
}),
})),
[steps, type],
[prefixCls, steps, type],
);
const builtinPlacements: TourProps['builtinPlacements'] = (config) =>