removed intercom

This commit is contained in:
Vladyslav Matsiiako
2023-09-07 17:35:26 -07:00
parent 8e6b0ca0a9
commit 43caccad9f
2 changed files with 3 additions and 18 deletions
@@ -130,17 +130,6 @@ export const AppLayout = ({ children }: LayoutProps) => {
const { t } = useTranslation();
useEffect(() => {
const handleRouteChange = () => {
window.Intercom("update");
};
router.events.on("routeChangeComplete", handleRouteChange);
return () => {
router.events.off("routeChangeComplete", handleRouteChange);
};
}, []);
const logout = useLogoutUser();
const logOutUser = async () => {