Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

chore: remove status filter

Marc Seitz60e3cb171ebf
diff --git a/pages/datarooms/index.tsx b/pages/datarooms/index.tsx
index c9cf4474..e513a6be 100644
--- a/pages/datarooms/index.tsx
+++ b/pages/datarooms/index.tsx
@@ -40,7 +40,6 @@ export default function DataroomsPage() {
const { limits } = useLimits();
const router = useRouter();
- const [statusFilter, setStatusFilter] = useQueryState("status");
const [tagsFilter, setTagsFilter] = useQueryState<string[]>("tags", {
parse: (value: string) => value.split(",").filter(Boolean),
serialize: (value: string[]) => value.join(","),
@@ -89,7 +88,7 @@ export default function DataroomsPage() {
return tagsFilter || [];
}, [tagsFilter]);
- const hasActiveFilters = searchQuery || statusFilter || tagsFilter?.length;
+ const hasActiveFilters = searchQuery || tagsFilter?.length;
useEffect(() => {
if (!isTrial && (isFree || isPro)) router.push("/documents");