diff --git a/apps/dashboard/app/(app)/ratelimits/[namespaceId]/logs/filter.tsx b/apps/dashboard/app/(app)/ratelimits/[namespaceId]/logs/filter.tsx
index f812880843..fe6a1d3fe2 100644
--- a/apps/dashboard/app/(app)/ratelimits/[namespaceId]/logs/filter.tsx
+++ b/apps/dashboard/app/(app)/ratelimits/[namespaceId]/logs/filter.tsx
@@ -2,16 +2,7 @@
import { ArrayInput } from "@/components/array-input";
import { Button } from "@/components/ui/button";
import { cn } from "@/lib/utils";
-import {
- CalendarRange,
- CheckCheck,
- ChevronDown,
- Earth,
- Locate,
- RefreshCw,
- User,
- X,
-} from "lucide-react";
+import { CalendarRange, CheckCheck, ChevronDown, RefreshCw, User, X } from "lucide-react";
import {
parseAsArrayOf,
parseAsBoolean,
@@ -50,22 +41,6 @@ export const Filters: React.FC = () => {
clearOnDefault: true,
}),
);
- const [country, setCountry] = useQueryState(
- "country",
- parseAsArrayOf(parseAsString).withDefault([]).withOptions({
- history: "push",
- shallow: false, // otherwise server components won't notice the change
- clearOnDefault: true,
- }),
- );
- const [ipAddress, setIpAddress] = useQueryState(
- "ipAddress",
- parseAsArrayOf(parseAsString).withDefault([]).withOptions({
- history: "push",
- shallow: false, // otherwise server components won't notice the change
- clearOnDefault: true,
- }),
- );
const [success, setSuccess] = useQueryState(
"success",
parseAsBoolean.withOptions({
@@ -97,8 +72,6 @@ export const Filters: React.FC = () => {
}, [after]);
const [identifierVisible, setIdentifierVisible] = useState(false);
- const [ipAddressVisible, setIpAddressVisible] = useState(false);
- const [countryVisible, setCountryVisible] = useState(false);
const [successVisible, setSuccessVisible] = useState(false);
const [timeRangeVisible, setTimeRangeVisible] = useState(false);
return (
@@ -119,14 +92,6 @@ export const Filters: React.FC = () => {
Identifier
- setIpAddressVisible(true)}>
-
- IP address
-
- setCountryVisible(true)}>
-
- Country
-
setTimeRangeVisible(true)}>
Time
@@ -137,7 +102,7 @@ export const Filters: React.FC = () => {
- {identifierVisible || ipAddressVisible || countryVisible ? (
+ {identifierVisible ? (