made more FE files TS

This commit is contained in:
subnub
2024-07-07 19:27:28 -04:00
parent f5691f9de1
commit 9751b5ca84
15 changed files with 83 additions and 91 deletions
@@ -54,7 +54,7 @@ const LeftSection = (props) => {
};
const closeDrawerEvent = useCallback(
(e) => {
(e: any) => {
console.log("close", e?.target.id);
if (
!e ||
@@ -99,9 +99,7 @@ const LeftSection = (props) => {
</span>
</a>
{/* TODO: Remove this props */}
{isDropdownOpen && (
<AddNewDropdown closeDropdown={closeDropdown} {...props} />
)}
{isDropdownOpen && <AddNewDropdown closeDropdown={closeDropdown} />}
</div>
<div className="pl-2 mr-[20px] py-2 hover:bg-[#f6f5fd] rounded-md">
<ul onClick={goHome} className="m-0 list-none p-0 cursor-pointer">