fix(lint): устранить ошибки lint и ожидание host в тесте артефактов логов
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
cf6dcd77fb
commit
44b5066f3a
6 files changed
+22
-11
No files matched your search
@@ -247,11 +247,13 @@ function StepperTrigger({
|
||||
if (btnRef.current) {
|
||||
registerTrigger(btnRef.current)
|
||||
}
|
||||
// eslint-disable-next-line react-hooks/refs -- upstream ReUI: trigger registry reads the ref during render
|
||||
}, [btnRef.current])
|
||||
|
||||
// Find our index among triggers for navigation
|
||||
const myIdx = useMemo(
|
||||
() =>
|
||||
// eslint-disable-next-line react-hooks/refs -- upstream ReUI: trigger registry reads the ref during render
|
||||
triggerNodes.findIndex((n: HTMLButtonElement) => n === btnRef.current),
|
||||
[triggerNodes, btnRef.current]
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user