Skip to content

Commit

Permalink
Move defender table to new table component
Browse files Browse the repository at this point in the history
  • Loading branch information
oddsson committed Jan 6, 2025
1 parent 550571d commit 5c2d50c
Show file tree
Hide file tree
Showing 3 changed files with 107 additions and 310 deletions.
8 changes: 2 additions & 6 deletions apps/judicial-system/web/src/routes/Defender/Cases/Cases.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { useDefenderCasesQuery } from './defenderCases.generated'
import { defenderCases as m } from './Cases.strings'
import * as styles from './Cases.css'

export const Cases: FC<unknown> = () => {
export const Cases: FC = () => {
const { formatMessage } = useIntl()

const availableTabs = ['active', 'completed']
Expand Down Expand Up @@ -114,10 +114,7 @@ export const Cases: FC<unknown> = () => {
filters={filters}
toggleFilter={toggleFilters}
/>
<DefenderCasesTable
cases={activeFilteredCases}
loading={loading}
/>
<DefenderCasesTable cases={activeFilteredCases} />
</Box>
) : (
<Box className={styles.infoContainer} marginTop={3}>
Expand All @@ -144,7 +141,6 @@ export const Cases: FC<unknown> = () => {
<DefenderCasesTable
cases={completedFilteredCases}
showingCompletedCases={true}
loading={loading}
/>
</Box>
) : (
Expand Down

This file was deleted.

Loading

0 comments on commit 5c2d50c

Please sign in to comment.