Skip to content

Commit 32b09f5

Browse files
fix: remove dead code #4767
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 7f84642 commit 32b09f5

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

app/config/utils.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
11
import { SelectCategoryValue } from "@databiosphere/findable-ui/lib/common/entities";
22

3-
/**
4-
* Returns true if consent groups include NRES or Unrestricted access.
5-
* @param consentGroups - Array of consent group strings.
6-
* @returns true if NRES or Unrestricted access is present.
7-
*/
8-
export function hasNRESOrUnrestrictedAccess(consentGroups: string[]): boolean {
9-
return (
10-
consentGroups.includes("NRES") ||
11-
consentGroups.includes("Unrestricted access")
12-
);
13-
}
14-
153
/**
164
* Returns true if the current environment is production.
175
* Determined by checking if NEXT_PUBLIC_SITE_CONFIG ends with "-prod".

0 commit comments

Comments
 (0)