Skip to content

Commit

Permalink
run lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwalo32 committed Feb 28, 2025
1 parent cd63478 commit a57a583
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const SignoutButton = styled(Button)({
marginTop: '10px',
width: '100%',
'&:hover': {
background: '#ca0909'
background: '#ca0909',
},
})

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {
TranslatedString,
Unsaved,
} from '@3dp4me/types'
import { useTheme } from '@mui/material'
import Button from '@mui/material/Button'
import Checkbox from '@mui/material/Checkbox'
import FormControl from '@mui/material/FormControl'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Unfortunately, there has to be an import cycle, because this is by nature, recursive
import { Language } from '@3dp4me/types'
import AddIcon from '@mui/icons-material/Add'
import { TableCell } from '@mui/material'
import { useMemo } from 'react'
import styled from 'styled-components'

Expand All @@ -16,7 +17,6 @@ import SimpleTable from '../../SimpleTable/SimpleTable'
import StepField from '../../StepField/StepField'
import { FieldGroupListTableProps, getCompleteSubFieldKey, getKeyBase } from './FieldGroupHelpers'
import { getTableData, getTableHeaders, HasGroupNumber, RENDER_PLUS_ICON } from './TableHelpers'
import { TableCell } from '@mui/material'

const CellEditContainer = styled(TableCell)`
padding: 5px;
Expand Down
6 changes: 2 additions & 4 deletions apps/frontend/src/utils/table-renderers.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { AccessLevel, FieldType, Language, Nullish, Path, Patient } from '@3dp4me/types'
import ArrowDropDownIcon from '@mui/icons-material/ArrowDropDown'
import ArrowDropUpIcon from '@mui/icons-material/ArrowDropUp'
import { TableCell } from '@mui/material'
import IconButton from '@mui/material/IconButton'
import React, { ReactNode } from 'react'
import Skeleton from 'react-loading-skeleton'
Expand All @@ -12,7 +13,6 @@ import translations from '../translations.json'
import { DisplayFieldType, SortDirection } from './constants'
import { fieldToJSX } from './fields'
import { resolveObjPath } from './object'
import { TableCell } from '@mui/material'

/**
* Given item data, a field key, and a field type, this function finds
Expand Down Expand Up @@ -258,8 +258,6 @@ export const userTableHeaderRenderer = <T extends Record<string, any>>(
selectedLang: Language
) => {
const headerCells = defaultTableHeaderRenderer(headers, sortConfig, onRequestSort, selectedLang)
headerCells.push(
<TableCell key="view-user" align="center" variant="head" className="header" />
)
headerCells.push(<TableCell key="view-user" align="center" variant="head" className="header" />)
return headerCells
}

0 comments on commit a57a583

Please sign in to comment.