What would you like to share or ask?
As clsx library has the same and better potentials to handle class names of tailwindcss so using clsx would be better than manual conditioning.
Additional information
Try to replace each and every component that uses className attribute as a condition.