From cd77760b88f261369066ba4b5013589568bca99e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=8Dvar=20Oddsson?= Date: Fri, 13 Dec 2024 21:49:51 +0000 Subject: [PATCH] Fix lint --- .../IndictmentCaseFilesList/IndictmentCaseFilesList.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/judicial-system/web/src/components/IndictmentCaseFilesList/IndictmentCaseFilesList.tsx b/apps/judicial-system/web/src/components/IndictmentCaseFilesList/IndictmentCaseFilesList.tsx index 1d3da30fb917..752011aac971 100644 --- a/apps/judicial-system/web/src/components/IndictmentCaseFilesList/IndictmentCaseFilesList.tsx +++ b/apps/judicial-system/web/src/components/IndictmentCaseFilesList/IndictmentCaseFilesList.tsx @@ -146,7 +146,7 @@ const useFilePermissions = (workingCase: Case, user?: User) => { canViewRulings: isDistrictCourtUser(user) || isCompletedCase(workingCase.state), }), - [user, workingCase.hasCivilClaims], + [user, workingCase.hasCivilClaims, workingCase.state], ) }