Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1b43214

Browse files
committed
Destruct props
1 parent365bc1d commit1b43214

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

‎site/src/pages/ManagementSettingsPage/OrganizationSummaryPageView.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ interface OrganizationSummaryPageViewProps {
1414

1515
exportconstOrganizationSummaryPageView:FC<
1616
OrganizationSummaryPageViewProps
17-
>=(props)=>{
17+
>=({ organization})=>{
1818
return(
1919
<div>
2020
<PageHeader
@@ -25,20 +25,20 @@ export const OrganizationSummaryPageView: FC<
2525
>
2626
<Stackdirection="row"spacing={3}alignItems="center">
2727
<UserAvatar
28-
key={props.organization.id}
28+
key={organization.id}
2929
size="xl"
3030
username={
31-
props.organization.display_name||props.organization.name
31+
organization.display_name||organization.name
3232
}
33-
avatarURL={props.organization.icon}
33+
avatarURL={organization.icon}
3434
/>
3535
<div>
3636
<PageHeaderTitle>
37-
{props.organization.display_name||props.organization.name}
37+
{organization.display_name||organization.name}
3838
</PageHeaderTitle>
39-
{props.organization.description&&(
39+
{organization.description&&(
4040
<PageHeaderSubtitle>
41-
{props.organization.description}
41+
{organization.description}
4242
</PageHeaderSubtitle>
4343
)}
4444
</div>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp