1368ffe55d
* 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>
15 lines
354 B
TypeScript
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,
|
|
};
|
|
};
|