Files
calendar/apps/web/modules/data-table/hooks/useSegmentsNoop.ts
T
Eunjae LeeGitHubDevin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
1368ffe55d refactor: move data-table hooks/contexts/provider from features to web modules (#27833)
* refactor: move data-table hooks/contexts/provider from features to web modules

Co-Authored-By: eunjae@cal.com <hey@eunjae.dev>

* fix: update broken useColumnResizing import path in DataTable.tsx

Co-Authored-By: eunjae@cal.com <hey@eunjae.dev>

* fix: update remaining broken import paths for moved hooks

Co-Authored-By: eunjae@cal.com <hey@eunjae.dev>

* docs: update GUIDE.md import paths and file references for moved modules

Co-Authored-By: eunjae@cal.com <hey@eunjae.dev>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-02-13 00:00:40 +09:00

15 lines
354 B
TypeScript

// eslint-disable-next-line no-restricted-imports
import { noop } from "lodash";
import { type UseSegments } from "@calcom/features/data-table/lib/types";
export const useSegmentsNoop: UseSegments = ({}) => {
return {
segments: [],
preferredSegmentId: null,
isSuccess: false,
setPreference: noop,
isSegmentEnabled: false,
};
};