mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-08 04:36:13 +08:00
fix: lint error and build error
This commit is contained in:
@@ -1,7 +1,4 @@
|
||||
import { useAppState } from '@/providers/app-state-provider';
|
||||
import { stringToColour } from '@/utils';
|
||||
import { useEffect, useState } from 'react';
|
||||
|
||||
interface IWorkspaceAvatar {
|
||||
size: number;
|
||||
name: string;
|
||||
@@ -25,7 +22,9 @@ export const WorkspaceAvatar = (props: IWorkspaceAvatar) => {
|
||||
overflow: 'hidden',
|
||||
}}
|
||||
>
|
||||
<img src={props.avatar} alt="" />
|
||||
<picture>
|
||||
<img src={props.avatar} alt="" />
|
||||
</picture>
|
||||
</div>
|
||||
) : (
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user