mirror of
https://github.com/NovaOSS/nova-betterchat.git
synced 2024-11-25 19:24:00 +01:00
b3f421cde9
* remove console log * refactor: Add hideOnClickOutside feature to reuse code This change abstracts the code repetition in three different files and promote the DRY principle by adding the hideOnClickOutside feature to the handleClickOutside function. The feature is designed to hide an element when clicking outside of its area. * refactor: hooks --------- Co-authored-by: Jing Hua <tohjinghua123@gmail.com> |
||
---|---|---|
.. | ||
api | ||
assets/icons | ||
components | ||
constants | ||
hooks | ||
store | ||
types | ||
utils | ||
App.tsx | ||
i18n.ts | ||
main.css | ||
main.tsx | ||
vite-env.d.ts |