diff --git a/apps/docs/app/app-surveys/advanced-targeting/page.mdx b/apps/docs/app/app-surveys/advanced-targeting/page.mdx
index 57b90b3bb6..51e245706d 100644
--- a/apps/docs/app/app-surveys/advanced-targeting/page.mdx
+++ b/apps/docs/app/app-surveys/advanced-targeting/page.mdx
@@ -17,11 +17,17 @@ export const metadata = {
# Advanced Targeting
-Advanced Targeting allows you to show surveys to the right group of people. You can target surveys based on user attributes, user events, and more instead of spraying and praying. This helps you get more relevant feedback and make data-driven decisions. All of this without writing a single line of code.
+
+ Targeting based on actions is deprecated in Advanced Targeting and will be removed soon. We recommend using
+ filters on user attributes to target the survey only to specific groups of users.
+
-
+Advanced Targeting allows you to show surveys to the right group of people. You can target surveys based on user attributes, device type, and more instead of spraying and praying. This helps you get more relevant feedback and make data-driven decisions. All of this without writing a single line of code.
+
## How to setup Advanced Targeting
diff --git a/packages/ee/advanced-targeting/components/add-filter-modal.tsx b/packages/ee/advanced-targeting/components/add-filter-modal.tsx
index 0ca84dfa90..3a4059e5d2 100644
--- a/packages/ee/advanced-targeting/components/add-filter-modal.tsx
+++ b/packages/ee/advanced-targeting/components/add-filter-modal.tsx
@@ -245,16 +245,18 @@ export function AddFilterModal({
icon?: React.ReactNode;
}[] = [
{ id: "all", label: "All" },
- { id: "actions", label: "Actions", icon: },
{ id: "attributes", label: "Person & Attributes", icon: },
{ id: "segments", label: "Segments", icon: },
{ id: "devices", label: "Devices", icon: },
];
- const devices = [
- { id: "phone", name: "Phone" },
- { id: "desktop", name: "Desktop" },
- ];
+ const devices = useMemo(
+ () => [
+ { id: "phone", name: "Phone" },
+ { id: "desktop", name: "Desktop" },
+ ],
+ []
+ );
const actionClassesFiltered = useMemo(() => {
if (!searchValue) return actionClasses;