Fetch workspace and user from database (#94)
Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
@ -39,13 +39,13 @@ const StyledName = styled.div`
|
||||
font-color: ${(props) => props.theme.text0};
|
||||
`;
|
||||
|
||||
function ProfileContainer({ workspace }: OwnProps) {
|
||||
function WorkspaceContainer({ workspace }: OwnProps) {
|
||||
return (
|
||||
<StyledContainer>
|
||||
<StyledLogo logo={workspace.logo}></StyledLogo>
|
||||
<StyledName>{workspace?.name}</StyledName>
|
||||
<StyledName>{workspace?.display_name}</StyledName>
|
||||
</StyledContainer>
|
||||
);
|
||||
}
|
||||
|
||||
export default ProfileContainer;
|
||||
export default WorkspaceContainer;
|
||||
|
||||
Reference in New Issue
Block a user