first commit
This commit is contained in:
6
calcom/packages/platform/atoms/hooks/useIsPlatform.ts
Normal file
6
calcom/packages/platform/atoms/hooks/useIsPlatform.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { useAtomsContext } from "./useAtomsContext";
|
||||
|
||||
export const useIsPlatform = () => {
|
||||
const context = useAtomsContext();
|
||||
return Boolean(context?.clientId);
|
||||
};
|
||||
Reference in New Issue
Block a user