Skip to content

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
pjdotson committed Nov 16, 2024
1 parent 072db55 commit 368e478
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions console/src/hardware/task/types.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

import { Icon } from "@synnaxlabs/media";
import { type ReactElement } from "react";
import { z } from "zod";

import { LabJack } from "@/hardware/labjack";
import { NI } from "@/hardware/ni";
Expand All @@ -20,8 +19,7 @@ export const TYPE_PREFIXES = [
NI.Task.PREFIX,
OPC.Task.PREFIX,
] as const;
export const typePrefixZ = z.enum(TYPE_PREFIXES);
export type TypePrefix = z.infer<typeof typePrefixZ>;
export type TypePrefix = (typeof TYPE_PREFIXES)[number];

export const TASK_ICONS: Record<TypePrefix, ReactElement> = {
[LabJack.Task.PREFIX]: <Icon.Logo.LabJack />,
Expand Down

0 comments on commit 368e478

Please sign in to comment.