Skip to content

Commit

Permalink
feat: add table field experiment
Browse files Browse the repository at this point in the history
  • Loading branch information
levimykel committed Jan 21, 2025
1 parent 303a830 commit 73433f1
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { useExperimentVariant } from "@/hooks/useExperimentVariant";

type UseTableFieldExperimentReturnType = { eligible: boolean };

export function useTableFieldExperiment(): UseTableFieldExperimentReturnType {
const variant = useExperimentVariant("slicemachine-table-field");
return { eligible: variant?.value === "on" };
}

0 comments on commit 73433f1

Please sign in to comment.