Corrige ReferenceError: handleConfirmUnsubscribe is not defined

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
MichaelandClaude Sonnet 4.6 committed 2026-04-16 14:20:42 +02:00
1 parent 177917c06e
commit d3b356ce26
1 file changed
+6
+6
View File
@@ -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();