Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(frontend): use isEmptyString from dfinity/utils (#4105)
# Motivation The logic of `isEmptyString` is the same as `isNullishOrEmpty` (it checks if it is nullish or empty string). The code can be checked here: https://github.com/dfinity/ic-js/blob/b744e3b0c799f5e3ee78a39a0dcd0b5dbf80a2d5/packages/utils/src/utils/nullish.utils.ts#L29 The only reason we don't replace completely the function is because `isNullishOrEmpty` provides a type hint definition too: `value is undefined | null`
- Loading branch information