File tree 1 file changed +7
-9
lines changed
site/src/pages/ManagementSettingsPage
1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ interface OrganizationSummaryPageViewProps {
14
14
15
15
export const OrganizationSummaryPageView : FC <
16
16
OrganizationSummaryPageViewProps
17
- > = ( props ) => {
17
+ > = ( { organization } ) => {
18
18
return (
19
19
< div >
20
20
< PageHeader
@@ -25,20 +25,18 @@ export const OrganizationSummaryPageView: FC<
25
25
>
26
26
< Stack direction = "row" spacing = { 3 } alignItems = "center" >
27
27
< UserAvatar
28
- key = { props . organization . id }
28
+ key = { organization . id }
29
29
size = "xl"
30
- username = {
31
- props . organization . display_name || props . organization . name
32
- }
33
- avatarURL = { props . organization . icon }
30
+ username = { organization . display_name || organization . name }
31
+ avatarURL = { organization . icon }
34
32
/>
35
33
< div >
36
34
< PageHeaderTitle >
37
- { props . organization . display_name || props . organization . name }
35
+ { organization . display_name || organization . name }
38
36
</ PageHeaderTitle >
39
- { props . organization . description && (
37
+ { organization . description && (
40
38
< PageHeaderSubtitle >
41
- { props . organization . description }
39
+ { organization . description }
42
40
</ PageHeaderSubtitle >
43
41
) }
44
42
</ div >
You can’t perform that action at this time.
0 commit comments