From c1c196bb0e119af6eb1421b4abf25b01529e49d9 Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Sun, 11 Feb 2024 14:34:47 -0800 Subject: [PATCH] remove a tick --- teachertool/src/components/TabGroup.tsx | 2 -- teachertool/src/constants.ts | 1 - 2 files changed, 3 deletions(-) diff --git a/teachertool/src/components/TabGroup.tsx b/teachertool/src/components/TabGroup.tsx index 9d4b10718bc6..5ea935b7ba56 100644 --- a/teachertool/src/components/TabGroup.tsx +++ b/teachertool/src/components/TabGroup.tsx @@ -6,7 +6,6 @@ import { Button } from "react-common/components/controls/Button"; import { AppStateContext } from "../state/appStateContext"; import { TabName } from "../types"; import { setActiveTab } from "../transforms/setActiveTab"; -import { Ticks } from "../constants"; interface ITabProps extends React.PropsWithChildren<{}> { name: TabName; @@ -17,7 +16,6 @@ export const TabButton: React.FC = ({ children, name, disabled }) => const { state: teacherTool } = useContext(AppStateContext); const onClick = () => { - pxt.tickEvent(Ticks.TabClicked, { tab: name }); setActiveTab(name); }; diff --git a/teachertool/src/constants.ts b/teachertool/src/constants.ts index 8efa306a7580..230d290570ad 100644 --- a/teachertool/src/constants.ts +++ b/teachertool/src/constants.ts @@ -15,7 +15,6 @@ export namespace Ticks { export const NewRubric = "teachertool.newrubric"; export const ImportRubric = "teachertool.importrubric"; export const ExportRubric = "teachertool.exportrubric"; - export const TabClicked = "teachertool.tabclicked"; export const Evaluate = "teachertool.evaluate"; export const Autorun = "teachertool.autorun"; export const AddCriteria = "teachertool.addcriteria";