Skip to content

Commit

Permalink
fix(console): remove unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
arielweinberger committed Oct 21, 2023
1 parent cef0368 commit e4d55e3
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions apps/console/src/app/lib/providers/AuthProvider.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import styled from "@emotion/styled";
import { hotjar } from "react-hotjar";
import { Col, Empty, Row } from "antd";
import { createContext, useContext, useEffect, useMemo } from "react";
import { createContext, useContext, useMemo } from "react";
import { useGetCurrentUser } from "../../graphql/hooks/queries";
import { GetMeQuery } from "../../../@generated/graphql/graphql";
import { LayoutWrapper } from "../../components/layout/LayoutWrapper";
Expand Down Expand Up @@ -38,15 +37,6 @@ export const AuthProvider = ({ children }) => {
[data, isLoading]
);

useEffect(() => {
if (hotjar.initialized() && value.currentUser) {
hotjar.identify(value.currentUser.id, {
name: value.currentUser?.name,
email: value.currentUser?.email,
});
}
}, [value.currentUser]);

useIdentify(value.currentUser);

return (
Expand Down

0 comments on commit e4d55e3

Please sign in to comment.