Skip to content

Commit 00dec4c

Browse files
committed
refactor(mosaic): inline the password section render helper
1 parent 39ff651 commit 00dec4c

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

‎packages/mosaic/src/features/user-profile/user-profile-password-section/user-profile-password-section.tsx‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ export interface UserProfilePasswordSectionProps {
1414

1515
export function UserProfilePasswordSection({ fallback = null }: UserProfilePasswordSectionProps) {
1616
const model = useUserProfilePasswordModel();
17-
return renderPasswordSection(model, fallback);
18-
}
19-
20-
export function renderPasswordSection(model: UserProfilePasswordModel, fallback: ReactNode): ReactNode {
2117
if (model.status === 'loading') {
2218
return fallback || null;
2319
}

0 commit comments

Comments
 (0)