Skip to content

Commit

Permalink
Adapt 'Contact settings' subsection fields
Browse files Browse the repository at this point in the history
The fields of the 'Contact settings'
subsection need to be adapted to synchronize
with the data from the `user_show` JSON RPC
method (previously adapted in the RPC wrapper
and used through the `useUserSettingsData` custom
hook).

Signed-off-by: Carla Martinez <[email protected]>
  • Loading branch information
carma12 committed Nov 17, 2023
1 parent f65f40c commit a6e978d
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 392 deletions.
6 changes: 5 additions & 1 deletion src/components/UserSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,11 @@ const UserSettings = (props: PropsToUserSettings) => {
id="contact-settings"
text="Contact settings"
/>
<UsersContactSettings user={props.user} />
<UsersContactSettings
user={props.user}
onUserChange={props.onUserChange}
metadata={props.metadata}
/>
<TitleLayout
key={5}
headingLevel="h2"
Expand Down
Loading

0 comments on commit a6e978d

Please sign in to comment.