Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
DonOmalVindula committed Sep 9, 2024
1 parent edc0312 commit 7472abc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion features/admin.users.v1/components/user-profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ export const UserProfile: FunctionComponent<UserProfilePropsInterface> = (
if (schemaName.includes("addresses")) {
// Ex: addresses#home.streetAddress
const addressSubSchema: string = schema?.name?.split(".")[1];
const addressSchemaArray: string[] = schemaName?.split(".");
const addressSchemaArray: string[] = schemaName?.split("#");

if (addressSchemaArray.length > 1) {
// Ex: addresses#home
Expand Down

0 comments on commit 7472abc

Please sign in to comment.