Skip to content

Commit 36a4d98

Browse files
author
Rajat Saxena
committed
CodeQL fixes
1 parent 776c257 commit 36a4d98

2 files changed

Lines changed: 1 addition & 10 deletions

File tree

apps/web/app/(with-contexts)/dashboard/(sidebar)/mails/sequence/[id]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export default function Page({
5858
}) {
5959
const address = useContext(AddressContext);
6060
const { id } = params;
61-
const { sequence, loading, error, loadSequence } = useSequence();
61+
const { sequence, loading, loadSequence } = useSequence();
6262
const [activeTab, setActiveTab] = useState("Compose");
6363
const [buttonLoading, setButtonLoading] = useState(false);
6464
const [title, setTitle] = useState("");

apps/web/components/admin/mails/subscribers-list.tsx

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -95,15 +95,6 @@ export default function SubscribersList({ sequenceId }: SubscribersListProps) {
9595
}
9696
}, [loadSubscribers]);
9797

98-
const handleRemoveSubscriber = (userId: string) => {
99-
// TODO: Implement remove subscriber functionality
100-
toast({
101-
title: "Feature Coming Soon",
102-
description:
103-
"Remove subscriber functionality will be available soon.",
104-
});
105-
};
106-
10798
if (loading && subscribers.length === 0) {
10899
return (
109100
<div className="space-y-4">

0 commit comments

Comments
 (0)