Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: errors in profileStorageUsed function (#2494)
## Why is this change needed? Describe why this issue should be fixed and link to any relevant design docs, issues or other relevant items. ## Merge Checklist _Choose all relevant options below by adding an `x` now or at any time before submitting for review_ - [x] PR title adheres to the [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/) standard - [ ] PR has a [changeset](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#35-adding-changesets) - [ ] PR has been tagged with a change label(s) (i.e. documentation, feature, bugfix, or chore) - [ ] PR includes [documentation](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#32-writing-docs) if necessary. <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on enhancing the handling of potentially `undefined` values in the `KeysProfile` constructor by providing a default empty string when the value is `undefined`. ### Detailed summary - Updated the `prefixKeys` array mapping to use `|| ""` for `RootPrefix[i]?.toString()`. - Updated the `userPostfixKeys` array mapping to use `|| ""` for `UserPostfix[i]?.toString()`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
- Loading branch information