mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-28 00:49:40 +05:00
feat: add login to the preference modal
This commit is contained in:
parent
6f1e48983a
commit
8138286233
3 changed files with 64 additions and 39 deletions
|
@ -61,6 +61,7 @@ export const ProfileEditStatusModal = (props: {
|
|||
<Modal.Header>Изменить статус</Modal.Header>
|
||||
<Modal.Body>
|
||||
<Textarea
|
||||
disabled={loading}
|
||||
rows={3}
|
||||
id="status"
|
||||
className="w-full"
|
||||
|
@ -74,7 +75,7 @@ export const ProfileEditStatusModal = (props: {
|
|||
</p>
|
||||
</Modal.Body>
|
||||
<Modal.Footer>
|
||||
<Button color="blue" onClick={() => _setStatusSetting()}>Сохранить</Button>
|
||||
<Button color="blue" onClick={() => _setStatusSetting()} disabled={loading}>Сохранить</Button>
|
||||
<Button color="red" onClick={() => props.setIsOpen(false)}>
|
||||
Отмена
|
||||
</Button>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue