snowballtools-base/packages/frontend/src
Vivian Phung 7b5ba1a5d0
correct suppressRefError (#198)
### 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.
2024-05-22 15:02:51 -04:00
..
assets Lint using tsc; fix type errors 2024-04-11 21:49:14 -05:00
components correct suppressRefError (#198) 2024-05-22 15:02:51 -04:00
context gpl-client/dist and delete unused Web3ModalProvider 2024-05-22 10:44:22 -04:00
layouts format prettier 2024-05-09 16:18:52 -04:00
pages Refactor: Collaborator Project Settings (#197) 2024-05-22 14:58:47 -04:00
stories [3/n][Storybook] Settings - Delete Project Dialog (#76) 2024-05-16 20:45:32 -04:00
types GeneralTabPanel cleanup 2024-05-14 19:36:50 +00:00
utils Turnkey auth 2024-05-06 14:36:58 -05:00
App.test.tsx Lint using tsc; fix type errors 2024-04-11 21:49:14 -05:00
App.tsx Sign in with google 2024-04-23 21:22:11 -05:00
constants.ts Add project create template for image upload PWA (#109) 2024-02-26 17:54:35 +05:30
index.css format prettier 2024-05-09 16:18:52 -04:00
index.tsx format 2024-05-22 10:57:20 -04:00
logo.svg Restore https://github.com/snowball-tools/snowballtools-base/pull/103 (#106) 2024-02-23 16:09:45 -06:00
react-app-env.d.ts Create react app with tailwind, typescript, eslint and prettier (#4) 2023-12-08 10:50:55 +05:30
reportWebVitals.ts Create react app with tailwind, typescript, eslint and prettier (#4) 2023-12-08 10:50:55 +05:30
setupTests.ts Create react app with tailwind, typescript, eslint and prettier (#4) 2023-12-08 10:50:55 +05:30