add fetch conversations in the delete callbacks

This commit is contained in:
staticGuru
2023-10-09 16:30:09 +05:30
parent c79ec45adb
commit a998db0570

View File

@@ -94,6 +94,7 @@ export default function Navigation({ navOpen, setNavOpen }: NavigationProps) {
) as HTMLElement;
const parentElement = imageElement.parentNode as HTMLElement;
parentElement.parentNode?.removeChild(parentElement);
fetchConversations();
})
.catch((error) => console.error(error));
};