Skip to content

Commit

Permalink
fix issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Mav-Ivan committed Sep 26, 2023
1 parent 2e267fd commit 726d33f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ export const columns: TableColumn<Categories>[] = [
{
label: 'myResourcesPage.categories.title',
field: 'title',
calculatedCellValue: (item: Categories) => {
return <Typography sx={styles.title}>{item.name}</Typography>
}
calculatedCellValue: (item: Categories) => (
<Typography sx={styles.title}>{item.name}</Typography>
)
},
{
label: 'myResourcesPage.categories.updated',
Expand All @@ -23,7 +23,7 @@ export const columns: TableColumn<Categories>[] = [
]

export const removeColumnRules: RemoveColumnRules<Categories> = {
tablet: ['myOffersPage.tableHeaders.updated']
tablet: ['myResourcesPage.categories.updated']
}

export const initialSort = { order: SortEnum.Desc, orderBy: 'updatedAt' }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import Loader from '~/components/loader/Loader'
import AddResourceWithInput from '~/containers/my-resources/add-resource-with-input/AddResourceWithInput'
import { ResourceService } from '~/services/resource-service'
import MyResourcesTable from '~/containers/my-resources/my-resources-table/MyResourcesTable'

import useAxios from '~/hooks/use-axios'
import useSort from '~/hooks/table/use-sort'
import useBreakpoints from '~/hooks/use-breakpoints'
Expand Down

0 comments on commit 726d33f

Please sign in to comment.