Skip to content

Commit

Permalink
Rename userOrganization to userAccount
Browse files Browse the repository at this point in the history
  • Loading branch information
dherault committed May 20, 2022
1 parent 1fbb4db commit 493cc35
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/components/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ type SidebarProps = {
supportUrl?: string
userImageUrl?: string
userName?: string
userOrganization?: string
userAccount?: string
}

const propTypes = {
Expand All @@ -54,7 +54,7 @@ const propTypes = {
supportUrl: PropTypes.string,
userImageUrl: PropTypes.string,
userName: PropTypes.string,
userOrganization: PropTypes.string,
userAccount: PropTypes.string,
}

const StyledLink = styled(Link)`
Expand Down Expand Up @@ -116,7 +116,7 @@ function SidebarRef({
supportUrl,
userImageUrl,
userName,
userOrganization,
userAccount,
...props
}: SidebarProps,
ref: Ref<any>
Expand Down Expand Up @@ -588,15 +588,15 @@ ref: Ref<any>
>
{userName}
</TransitionText>
{userOrganization && (
{userAccount && (
<TransitionText
mt={0.25}
body3
collapsed={collapsed}
color="text-xlight"
wordBreak="keep-all"
>
{userOrganization}
{userAccount}
</TransitionText>
)}
</Div>
Expand Down

0 comments on commit 493cc35

Please sign in to comment.