fix: "Add to Twenty" button render fix (chrome-extension) (#5048)
fix - #5047
This commit is contained in:
4
packages/twenty-chrome-extension/src/utils/isDefined.ts
Normal file
4
packages/twenty-chrome-extension/src/utils/isDefined.ts
Normal file
@ -0,0 +1,4 @@
|
||||
import { isNull, isUndefined } from '@sniptt/guards';
|
||||
|
||||
export const isDefined = <T>(value: T | null | undefined): value is T =>
|
||||
!isUndefined(value) && !isNull(value);
|
||||
Reference in New Issue
Block a user