Skip to content

Commit 503f754

Browse files
committed
remove commented code in store/cffstr.ts
1 parent fa25a2a commit 503f754

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

src/store/cffstr.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,6 @@ export function useCffstr () {
3030
} = useCff()
3131

3232
const notEmpty = (value: unknown, prop: unknown, subject: unknown) => {
33-
// based on https://www.npmjs.com/package/deep-filter example
34-
// if (Array.isArray(value)) {
35-
// return value.length > 0
36-
// } else if (typeof value === 'object' && value !== null) {
37-
// return Object.keys(value).length > 0
38-
// } else if (typeof value === 'string') {
39-
// return value.length > 0
40-
// } else {
41-
// return value != null
42-
// }
43-
4433
return value !== undefined
4534
}
4635

0 commit comments

Comments
 (0)