From f2899476accd0dce87c4f5a0f38e2964cec071ff Mon Sep 17 00:00:00 2001 From: LAKHAN BAHETI Date: Fri, 15 Mar 2024 15:11:03 +0530 Subject: [PATCH] fix: build error --- web/components/states/project-setting-state-list.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/components/states/project-setting-state-list.tsx b/web/components/states/project-setting-state-list.tsx index ec0ef1d66..9fc53a5b9 100644 --- a/web/components/states/project-setting-state-list.tsx +++ b/web/components/states/project-setting-state-list.tsx @@ -10,6 +10,8 @@ import { STATES_LIST } from "constants/fetch-keys"; import { sortByField } from "helpers/array.helper"; import { orderStateGroups } from "helpers/state.helper"; import { useEventTracker, useProjectState } from "hooks/store"; +// constants +import { E_STATES } from "constants/event-tracker"; // components // ui // icons @@ -55,7 +57,7 @@ export const ProjectSettingStateList: React.FC = observer(() => { type="button" className="flex items-center gap-2 px-2 text-custom-primary-100 outline-none hover:text-custom-primary-200" onClick={() => { - PROJECT_SETTINGS_STATES_PAGE"); + setTrackElement(E_STATES); setActiveGroup(group as keyof StateGroup); }} >