chore: update UXs

This commit is contained in:
zerosoul
2022-04-28 10:53:22 +08:00
parent 5204c58d13
commit d83a090bc5
4 changed files with 43 additions and 21 deletions
@@ -29,7 +29,12 @@ export default function DeleteConfirmModal({ id, closeModal }) {
description="Are you sure want to delete this channel?"
buttons={
<>
<Button onClick={closeModal.bind(null, undefined)}>Cancel</Button>
<Button
onClick={closeModal.bind(null, undefined)}
className="cancel"
>
Cancel
</Button>
<Button onClick={handleDelete} className="danger">
{isLoading ? "Deleting" : `Delete`}
</Button>