fix: update eslint config to test .ts and .js separately (#2805)
* fix: update eslint config * fix: update ts ignore * fix: update eslint config * Update TeamAvailabilityScreen.tsx * Type fixes * Update useIntercom.ts Co-authored-by: Omar López <[email protected]>
This commit is contained in:
1 parent
952a149604
commit
31aff64e42
12 files changed
+43
-36
No files matched your search
@@ -1,11 +1,12 @@
|
||||
import noop from "lodash/noop";
|
||||
import { useIntercom as _useIntercom } from "react-use-intercom";
|
||||
|
||||
export const useIntercom =
|
||||
typeof window !== "undefined" && !!process.env.NEXT_PUBLIC_INTERCOM_APP_ID
|
||||
? _useIntercom
|
||||
: () => ({
|
||||
boot: () => {},
|
||||
show: () => {},
|
||||
boot: noop,
|
||||
show: noop,
|
||||
});
|
||||
|
||||
export default useIntercom;
|
||||
Reference in new issue
Block a user