Skip to content

Commit

Permalink
remove a tick
Browse files Browse the repository at this point in the history
  • Loading branch information
eanders-ms committed Feb 11, 2024
1 parent d47b9ca commit c1c196b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions teachertool/src/components/TabGroup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -17,7 +16,6 @@ export const TabButton: React.FC<ITabProps> = ({ children, name, disabled }) =>
const { state: teacherTool } = useContext(AppStateContext);

const onClick = () => {
pxt.tickEvent(Ticks.TabClicked, { tab: name });
setActiveTab(name);
};

Expand Down
1 change: 0 additions & 1 deletion teachertool/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit c1c196b

Please sign in to comment.