forked from cerc-io/snowballtools-base
### TL;DR This PR refactors the `UserSelect` component, adjusting the call to `getToggleButtonProps`. ### What changed? The `getToggleButtonProps` method in the `UserSelect` component now takes in two separate objects, one for the `ref` and another for `suppressRefError`, instead of a single one. ### How to test? Verify the component functionality hasn't changed and there are no reference errors. ### Why make this change? This code changes improve the readability and maintainability of this component by clearly separating the component reference and error suppression configurations in separate objects. |
||
|---|---|---|
| .. | ||
| assets | ||
| components | ||
| context | ||
| layouts | ||
| pages | ||
| stories | ||
| types | ||
| utils | ||
| App.test.tsx | ||
| App.tsx | ||
| constants.ts | ||
| index.css | ||
| index.tsx | ||
| logo.svg | ||
| react-app-env.d.ts | ||
| reportWebVitals.ts | ||
| setupTests.ts | ||