app/pb_kits/playbook/utilities/text.ts in playbook_ui-13.34.1.pre.alpha.PLAY14703378 vs app/pb_kits/playbook/utilities/text.ts in playbook_ui-13.34.1.pre.alpha.pbntr258paginationkitforreact3404
- old
+ new
@@ -1,5 +1,7 @@
-import { filter, isEmpty } from 'lodash'
+import { filter } from 'lodash'
+
+const isEmpty = (value: string | unknown): boolean => !value || value == ''
const titleizedWord = (word: string): string => (
word.charAt(0).toUpperCase() + word.slice(1).toLowerCase()
)