diff --git a/web/settings/relationship/user-list-modal.react.js b/web/settings/relationship/user-list-modal.react.js --- a/web/settings/relationship/user-list-modal.react.js +++ b/web/settings/relationship/user-list-modal.react.js @@ -40,18 +40,18 @@ usersComparator={usersComparator} searchText={searchText} /> - ), - [ - buttonLabel, - filterUser, - onAddUsersClick, - userRowComponent, - usersComparator, - ], + [filterUser, userRowComponent, usersComparator], + ); + + const primaryButton = React.useMemo( + () => ( + + ), + [buttonLabel, onAddUsersClick], ); return ( @@ -60,6 +60,7 @@ size="large" searchPlaceholder="Search by name" onClose={popModal} + primaryButton={primaryButton} > {searchModalChildGenerator} diff --git a/web/settings/relationship/user-list.css b/web/settings/relationship/user-list.css --- a/web/settings/relationship/user-list.css +++ b/web/settings/relationship/user-list.css @@ -27,7 +27,7 @@ display: flex; flex-direction: column; row-gap: 8px; - height: 625px; + height: 60vh; } .emptyList {