Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GEN-1976]: fix "loading" for source conditions (#1969)
This pull request includes a change to the `ConditionDetails` component in the `frontend/webapp/reuseable-components/condition-details/index.tsx` file. The change optimizes the `loading` state by using the `useMemo` hook instead of `useState`. Optimization: * [`frontend/webapp/reuseable-components/condition-details/index.tsx`](diffhunk://#diff-8ddad4625b70db190b926980070c30fb0c429fb2c13be252bba2c6de1e8cef4dL44-R46): Replaced the `useState` hook with the `useMemo` hook for the `loading` state to improve performance by memoizing the value based on the `conditions` array.
- Loading branch information