From d79bec006aecb57730a3eb03c2f9b1a1dbdb257c Mon Sep 17 00:00:00 2001 From: Ariful Alam Date: Sat, 19 Mar 2022 00:55:08 +0600 Subject: [PATCH] Update utils.jsx --- src/helpers/utils.jsx | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/src/helpers/utils.jsx b/src/helpers/utils.jsx index 7164228..6c7e0fe 100644 --- a/src/helpers/utils.jsx +++ b/src/helpers/utils.jsx @@ -1,6 +1,5 @@ -import config from '../config'; -import colors from './colors.json'; -import { hotjar } from 'react-hotjar'; +import config from '../ezprofile.config'; +import colors from '../data/colors.json'; export const getInitialTheme = () => { if (config.themeConfig.disableSwitch) { @@ -86,13 +85,3 @@ export const isThemeDarkish = (theme) => { return false; } }; - -export const setupHotjar = () => { - if (config.hotjar?.id) { - let snippetVersion = config.hotjar?.snippetVersion - ? config.hotjar?.snippetVersion - : 6; - - hotjar.initialize(config.hotjar.id, snippetVersion); - } -};