chore: updates

This commit is contained in:
Tristan Yang
2023-08-05 22:56:25 +08:00
parent 481234f717
commit 7bc7aa276c
3 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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}>
-1
View File
@@ -113,7 +113,6 @@ export default function BotConfig() {
url={avatar}
uploadImage={updateAvatar}
name={name}
size={56}
/>
</td>
<td className={`${tdClass}`}>