Skip to content

Commit

Permalink
refactor: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Birkbjo committed Feb 20, 2024
1 parent f9c07d7 commit cb7dbe7
Showing 1 changed file with 1 addition and 35 deletions.
36 changes: 1 addition & 35 deletions src/components/sectionList/SectionListRow.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
import { DataTableRow, DataTableCell, Checkbox, Button } from '@dhis2/ui'
import { IconEdit24, IconMore24 } from '@dhis2/ui-icons'
import { DataTableRow, DataTableCell, Checkbox } from '@dhis2/ui'
import cx from 'classnames'
import React from 'react'
import { Link } from 'react-router-dom'
import { CheckBoxOnChangeObject } from '../../types'
import { IdentifiableObject, GistModel } from '../../types/models'
import {
ListActions,
ActionEdit,
ActionMore,
} from './listActions/SectionListActions'
import css from './SectionList.module.css'
import { SelectedColumns, SelectedColumn } from './types'

Expand Down Expand Up @@ -61,30 +54,3 @@ export function SectionListRow<Model extends IdentifiableObject>({
</DataTableRow>
)
}

// const ListActions = ({ modelId }: { modelId: string }) => {
// return (
// <div className={css.listActions}>
// <ActionEdit modelId={modelId} />
// <ActionMore />
// </div>
// )
// }

// const ActionEdit = ({ modelId }: { modelId: string }) => {
// return (
// <Link to={`${modelId}`}>
// <Button small secondary>
// <IconEdit24 />
// </Button>
// </Link>
// )
// }

// const ActionMore = () => {
// return (
// <Button small secondary>
// <IconMore24 />
// </Button>
// )
// }

0 comments on commit cb7dbe7

Please sign in to comment.