Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
oddsson committed Oct 18, 2024
1 parent 5d38e16 commit f1cbc27
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,7 @@ export const Overview = () => {
return []
}
return data.users.reduce(
(
acc: { label: string; value: string; isDisabled?: boolean }[],
prosecutor,
) => {
(acc: { label: string; value: string }[], prosecutor) => {
if (prosecutor.institution?.id === user?.institution?.id) {
acc.push({
label: prosecutor.name ?? '',
Expand Down

0 comments on commit f1cbc27

Please sign in to comment.