mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 21:27:20 +00:00
fix(server): default workspace avatar size (#10229)
This commit is contained in:
@@ -7,4 +7,5 @@ export const TEST_USER: UserProps = {
|
||||
|
||||
export const TEST_WORKSPACE: WorkspaceProps = {
|
||||
name: 'Test Workspace',
|
||||
avatar: 'https://app.affine.pro/favicon-192.png',
|
||||
};
|
||||
|
||||
@@ -11,8 +11,8 @@ export const Workspace = (props: WorkspaceProps) => {
|
||||
<AvatarWithName
|
||||
name={props.name}
|
||||
img={props.avatar}
|
||||
width={`${props.size}px`}
|
||||
height={`${props.size}px`}
|
||||
width={`${props.size ?? 20}px`}
|
||||
height={`${props.size ?? 20}px`}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user