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:
iamkunandOmar López authored and GitHub committed 2022-05-18 10:05:25 -06:00
1 parent 952a149604
commit 31aff64e42
12 files changed
+43 -36

No files matched your search

+3 -2
View File
@@ -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;