mirror of
https://github.com/R0m1k3/podcastic.git
synced 2026-10-11 17:26:20 +02:00
Corrige ReferenceError: handleConfirmUnsubscribe is not defined
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
177917c06e
commit
d3b356ce26
1 file changed
+6
@@ -63,6 +63,12 @@ export default function Library() {
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
const handleConfirmUnsubscribe = () => {
|
||||||
|
if (confirmDeleteId) {
|
||||||
|
unsubscribeMutation.mutate(confirmDeleteId);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
const handleLogout = async () => {
|
const handleLogout = async () => {
|
||||||
try {
|
try {
|
||||||
await authService.logout();
|
await authService.logout();
|
||||||
|
|||||||
Reference in new issue
Block a user