chore: updates
This commit is contained in:
@@ -58,7 +58,7 @@ const AvatarUploader: FC<Props> = ({
|
|||||||
/>
|
/>
|
||||||
{!disabled && (
|
{!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")}
|
{uploading ? t("status.uploading") : t("action.change_avatar")}
|
||||||
</div>
|
</div>
|
||||||
<input
|
<input
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ const DeleteModal = ({ closeModal, uid, name }: Props) => {
|
|||||||
description={t("delete_desc")}
|
description={t("delete_desc")}
|
||||||
buttons={
|
buttons={
|
||||||
<>
|
<>
|
||||||
<Button className="cancel" onClick={closeModal.bind(null, undefined)}>
|
<Button className="cancel" onClick={closeModal.bind(null)}>
|
||||||
{ct("action.cancel")}
|
{ct("action.cancel")}
|
||||||
</Button>
|
</Button>
|
||||||
<Button className="danger" onClick={handleDeleteBot}>
|
<Button className="danger" onClick={handleDeleteBot}>
|
||||||
|
|||||||
@@ -113,7 +113,6 @@ export default function BotConfig() {
|
|||||||
url={avatar}
|
url={avatar}
|
||||||
uploadImage={updateAvatar}
|
uploadImage={updateAvatar}
|
||||||
name={name}
|
name={name}
|
||||||
size={56}
|
|
||||||
/>
|
/>
|
||||||
</td>
|
</td>
|
||||||
<td className={`${tdClass}`}>
|
<td className={`${tdClass}`}>
|
||||||
|
|||||||
Reference in New Issue
Block a user