chore: updates
This commit is contained in:
@@ -58,7 +58,7 @@ const AvatarUploader: FC<Props> = ({
|
||||
/>
|
||||
{!disabled && (
|
||||
<>
|
||||
<div className="flex-center flex-col whitespace-break-spaces text-center hidden group-hover:flex p-1 absolute inset-0 bg-black/50 text-white font-bold text-xs">
|
||||
<div className="flex-center flex-col whitespace-nowrap hidden group-hover:flex p-1 absolute inset-0 bg-black/50 text-white font-bold text-xs">
|
||||
{uploading ? t("status.uploading") : t("action.change_avatar")}
|
||||
</div>
|
||||
<input
|
||||
|
||||
@@ -34,7 +34,7 @@ const DeleteModal = ({ closeModal, uid, name }: Props) => {
|
||||
description={t("delete_desc")}
|
||||
buttons={
|
||||
<>
|
||||
<Button className="cancel" onClick={closeModal.bind(null, undefined)}>
|
||||
<Button className="cancel" onClick={closeModal.bind(null)}>
|
||||
{ct("action.cancel")}
|
||||
</Button>
|
||||
<Button className="danger" onClick={handleDeleteBot}>
|
||||
|
||||
@@ -113,7 +113,6 @@ export default function BotConfig() {
|
||||
url={avatar}
|
||||
uploadImage={updateAvatar}
|
||||
name={name}
|
||||
size={56}
|
||||
/>
|
||||
</td>
|
||||
<td className={`${tdClass}`}>
|
||||
|
||||
Reference in New Issue
Block a user