feat: browse archived habit history and restore habits
This commit is contained in:
@@ -191,11 +191,11 @@ export function HabitHistory({
|
||||
{onDelete && (
|
||||
<Button
|
||||
variant="text"
|
||||
aria-label={`Delete ${habit.name}`}
|
||||
aria-label={`Archive ${habit.name}`}
|
||||
disabled={disabled}
|
||||
onClick={onDelete}
|
||||
>
|
||||
Delete
|
||||
Archive
|
||||
</Button>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user