feat: deleted user

This commit is contained in:
Tristan Yang
2022-08-23 17:26:37 +08:00
parent a27b537666
commit 22e6f6cdcc
8 changed files with 634 additions and 503 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ interface Props {
type?: "user" | "channel";
}
const Avatar: FC<Props> = ({ url = "", name = "unknown name", type = "user", ...rest }) => {
const Avatar: FC<Props> = ({ url = "", name = "Deleted User", type = "user", ...rest }) => {
const [src, setSrc] = useState("");
const handleError = (err: SyntheticEvent<HTMLImageElement>) => {