Closed Kodylow closed 3 months ago
apps/guardian-ui/src/components/setup/screens/setConfiguration/SetConfiguration.tsx
[error] 210-210: Avoid the use of spread (`...`) syntax on accumulators. Spread syntax should be avoided on accumulators (like those in `.reduce`) because it causes a time complexity of `O(n^2)`. Consider methods such as .splice or .push instead. (lint/performance/noAccumulatingSpread)apps/guardian-ui/src/components/setup/screens/verifyGuardians/VerifyGuardians.tsx
[error] 129-130: Change to an optional chain. Unsafe fix: Change to an optional chain. (lint/complexity/useOptionalChain) --- [error] 258-400: This else clause can be omitted because previous branches break early. Unsafe fix: Omit the else clause. (lint/style/noUselessElse) --- [error] 260-400: This else clause can be omitted because previous branches break early. (lint/style/noUselessElse) --- [error] 271-400: This else clause can be omitted because previous branches break early. (lint/style/noUselessElse)
Breaks SetConfiguration up into multiple components. (builds on refactor-fixes https://github.com/fedimint/ui/pull/441)
Summary by CodeRabbit
New Features
Refactor