Skip to content

Commit 800265e

Browse files
feat: upgrade catena-x shared components to 4.0.0 (#1567)
#1565
1 parent 6787b73 commit 800265e

File tree

15 files changed

+249
-139
lines changed

15 files changed

+249
-139
lines changed

DEPENDENCIES

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,7 @@ npm/npmjs/-/react-is/16.13.1, MIT, approved, clearlydefined
530530
npm/npmjs/-/react-is/17.0.2, MIT, approved, clearlydefined
531531
npm/npmjs/-/react-is/18.3.1, MIT, approved, clearlydefined
532532
npm/npmjs/-/react-is/19.0.0, MIT AND CC-BY-SA-4.0, approved, #18545
533+
npm/npmjs/-/react-is/19.1.0, MIT, approved, #20637
533534
npm/npmjs/-/react-player/2.16.0, MIT, approved, #14388
534535
npm/npmjs/-/react-redux/9.1.2, MIT AND (BSD-2-Clause AND ISC AND MIT) AND BSD-3-Clause, approved, #13913
535536
npm/npmjs/-/react-refresh/0.14.2, MIT, approved, clearlydefined
@@ -551,7 +552,6 @@ npm/npmjs/-/remove-accents/0.4.4, MIT, approved, clearlydefined
551552
npm/npmjs/-/request-progress/3.0.0, MIT, approved, clearlydefined
552553
npm/npmjs/-/require-directory/2.1.1, MIT, approved, clearlydefined
553554
npm/npmjs/-/requires-port/1.0.0, MIT, approved, clearlydefined
554-
npm/npmjs/-/reselect/4.1.8, MIT, approved, clearlydefined
555555
npm/npmjs/-/reselect/5.1.1, MIT, approved, clearlydefined
556556
npm/npmjs/-/resize-observer-polyfill/1.5.1, MIT, approved, clearlydefined
557557
npm/npmjs/-/resolve-cwd/3.0.0, MIT, approved, clearlydefined
@@ -753,14 +753,15 @@ npm/npmjs/@babel/plugin-syntax-typescript/7.25.4, MIT, approved, clearlydefined
753753
npm/npmjs/@babel/plugin-transform-react-jsx-self/7.25.9, MIT, approved, clearlydefined
754754
npm/npmjs/@babel/plugin-transform-react-jsx-source/7.25.9, MIT, approved, clearlydefined
755755
npm/npmjs/@babel/runtime/7.25.6, MIT, approved, clearlydefined
756+
npm/npmjs/@babel/runtime/7.27.0, MIT, approved, clearlydefined
756757
npm/npmjs/@babel/template/7.25.0, MIT, approved, clearlydefined
757758
npm/npmjs/@babel/template/7.25.9, MIT, approved, clearlydefined
758759
npm/npmjs/@babel/traverse/7.25.6, MIT, approved, clearlydefined
759760
npm/npmjs/@babel/traverse/7.26.5, MIT AND (BSD-2-Clause AND ISC AND MIT) AND BSD-2-Clause AND BSD-3-Clause, approved, #17721
760761
npm/npmjs/@babel/types/7.25.6, MIT AND (BSD-2-Clause AND ISC AND MIT) AND BSD-2-Clause AND BSD-3-Clause, approved, #16040
761762
npm/npmjs/@babel/types/7.26.5, MIT AND (BSD-2-Clause AND ISC AND MIT) AND BSD-2-Clause AND BSD-3-Clause, approved, #17734
762763
npm/npmjs/@bcoe/v8-coverage/0.2.3, ISC AND MIT, approved, clearlydefined
763-
npm/npmjs/@catena-x/portal-shared-components/3.7.6, Apache-2.0 AND CC-BY-4.0 AND OFL-1.1, approved, #17145
764+
npm/npmjs/@catena-x/portal-shared-components/4.0.0, Apache-2.0 AND MIT, approved, #20858
764765
npm/npmjs/@colors/colors/1.5.0, MIT, approved, clearlydefined
765766
npm/npmjs/@cspotcode/source-map-support/0.8.1, MIT, approved, clearlydefined
766767
npm/npmjs/@cypress/request/3.0.6, Apache-2.0, approved, clearlydefined
@@ -773,11 +774,14 @@ npm/npmjs/@emotion/hash/0.9.2, MIT, approved, #8394
773774
npm/npmjs/@emotion/is-prop-valid/1.3.1, MIT AND (BSD-2-Clause AND MIT), approved, #16339
774775
npm/npmjs/@emotion/memoize/0.9.0, MIT, approved, clearlydefined
775776
npm/npmjs/@emotion/react/11.13.5, MIT AND (BSD-2-Clause AND MIT), approved, #15965
777+
npm/npmjs/@emotion/react/11.14.0, MIT AND (BSD-2-Clause AND MIT), approved, #18544
776778
npm/npmjs/@emotion/serialize/1.3.3, MIT AND (BSD-2-Clause AND MIT), approved, #16340
777779
npm/npmjs/@emotion/sheet/1.4.0, MIT, approved, clearlydefined
778780
npm/npmjs/@emotion/styled/11.13.5, MIT AND (BSD-2-Clause AND MIT), approved, #17693
781+
npm/npmjs/@emotion/styled/11.14.0, MIT AND (BSD-2-Clause AND MIT), approved, #18548
779782
npm/npmjs/@emotion/unitless/0.10.0, MIT, approved, clearlydefined
780783
npm/npmjs/@emotion/use-insertion-effect-with-fallbacks/1.1.0, MIT, approved, clearlydefined
784+
npm/npmjs/@emotion/use-insertion-effect-with-fallbacks/1.2.0, MIT, approved, #18549
781785
npm/npmjs/@emotion/utils/1.4.2, MIT AND (BSD-2-Clause AND MIT), approved, #16344
782786
npm/npmjs/@emotion/weak-memoize/0.4.0, MIT, approved, clearlydefined
783787
npm/npmjs/@esbuild/aix-ppc64/0.20.2, MIT, approved, clearlydefined
@@ -807,10 +811,6 @@ npm/npmjs/@eslint-community/eslint-utils/4.4.0, MIT, approved, #15285
807811
npm/npmjs/@eslint-community/regexpp/4.11.1, MIT AND BSD-3-Clause, approved, #16257
808812
npm/npmjs/@eslint/eslintrc/2.1.4, MIT, approved, #9908
809813
npm/npmjs/@eslint/js/8.57.1, MIT, approved, clearlydefined
810-
npm/npmjs/@floating-ui/core/1.6.8, MIT, approved, clearlydefined
811-
npm/npmjs/@floating-ui/dom/1.6.11, MIT, approved, clearlydefined
812-
npm/npmjs/@floating-ui/react-dom/2.1.2, MIT, approved, clearlydefined
813-
npm/npmjs/@floating-ui/utils/0.2.8, MIT, approved, clearlydefined
814814
npm/npmjs/@hookform/error-message/2.0.1, MIT, approved, clearlydefined
815815
npm/npmjs/@humanwhocodes/config-array/0.13.0, Apache-2.0, approved, clearlydefined
816816
npm/npmjs/@humanwhocodes/module-importer/1.0.1, Apache-2.0, approved, clearlydefined
@@ -837,18 +837,25 @@ npm/npmjs/@jridgewell/set-array/1.2.1, MIT, approved, clearlydefined
837837
npm/npmjs/@jridgewell/sourcemap-codec/1.5.0, MIT, approved, clearlydefined
838838
npm/npmjs/@jridgewell/trace-mapping/0.3.25, MIT, approved, #9904
839839
npm/npmjs/@jridgewell/trace-mapping/0.3.9, MIT, approved, #9904
840-
npm/npmjs/@mui/base/5.0.0-beta.58, MIT, approved, #2992
841840
npm/npmjs/@mui/core-downloads-tracker/5.16.14, MIT, approved, #17767
841+
npm/npmjs/@mui/core-downloads-tracker/7.0.2, MIT, approved, #20543
842842
npm/npmjs/@mui/icons-material/5.16.14, MIT, approved, #15711
843+
npm/npmjs/@mui/icons-material/7.0.2, MIT, approved, #20539
843844
npm/npmjs/@mui/material/5.16.14, MIT, approved, #15714
845+
npm/npmjs/@mui/material/7.0.2, MIT, approved, #20545
844846
npm/npmjs/@mui/private-theming/5.16.14, MIT, approved, #15717
847+
npm/npmjs/@mui/private-theming/7.0.2, MIT, approved, #20541
845848
npm/npmjs/@mui/styled-engine/5.16.14, MIT, approved, #15718
849+
npm/npmjs/@mui/styled-engine/7.0.2, MIT, approved, #20537
846850
npm/npmjs/@mui/system/5.16.14, MIT, approved, #15715
851+
npm/npmjs/@mui/system/7.0.2, MIT, approved, #20542
847852
npm/npmjs/@mui/types/7.2.17, MIT, approved, #16017
853+
npm/npmjs/@mui/types/7.4.1, MIT, approved, #20538
848854
npm/npmjs/@mui/utils/5.16.14, MIT, approved, #15716
849-
npm/npmjs/@mui/utils/6.0.0-rc.0, MIT, approved, #16415
850-
npm/npmjs/@mui/x-data-grid/6.20.4, MIT AND ISC, approved, #15720
851-
npm/npmjs/@mui/x-date-pickers/6.20.2, MIT, approved, clearlydefined
855+
npm/npmjs/@mui/utils/7.0.2, MIT, approved, #20544
856+
npm/npmjs/@mui/x-data-grid/7.29.0, MIT AND ISC, approved, #20860
857+
npm/npmjs/@mui/x-date-pickers/7.29.0, MIT, approved, #20859
858+
npm/npmjs/@mui/x-internals/7.29.0, MIT, approved, #20861
852859
npm/npmjs/@nodelib/fs.scandir/2.1.5, MIT, approved, clearlydefined
853860
npm/npmjs/@nodelib/fs.stat/2.0.5, MIT, approved, clearlydefined
854861
npm/npmjs/@nodelib/fs.walk/1.2.8, MIT, approved, clearlydefined
@@ -936,11 +943,13 @@ npm/npmjs/@types/node/22.7.4, MIT, approved, #16398
936943
npm/npmjs/@types/papaparse/5.3.15, MIT, approved, #10964
937944
npm/npmjs/@types/parse-json/4.0.2, MIT, approved, #19199
938945
npm/npmjs/@types/prop-types/15.7.13, MIT, approved, #16176
946+
npm/npmjs/@types/prop-types/15.7.14, MIT, approved, #16176
939947
npm/npmjs/@types/qs/6.9.18, MIT, approved, #14071
940948
npm/npmjs/@types/react-dom/18.3.1, MIT, approved, #18409
941949
npm/npmjs/@types/react-redux/7.1.34, MIT, approved, #10970
942950
npm/npmjs/@types/react-slick/0.23.13, MIT, approved, #11666
943951
npm/npmjs/@types/react-transition-group/4.4.11, MIT, approved, #8416
952+
npm/npmjs/@types/react-transition-group/4.4.12, MIT, approved, #8416
944953
npm/npmjs/@types/react/18.3.12, MIT, approved, #16412
945954
npm/npmjs/@types/sinonjs__fake-timers/8.1.1, MIT, approved, #11000
946955
npm/npmjs/@types/sizzle/2.3.9, MIT, approved, clearlydefined

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@
3434
]
3535
},
3636
"dependencies": {
37-
"@catena-x/portal-shared-components": "^3.7.6",
37+
"@catena-x/portal-shared-components": "^4.0.0",
3838
"@emotion/react": "^11.13.5",
3939
"@emotion/styled": "^11.13.5",
4040
"@hookform/error-message": "^2.0.1",
4141
"@mui/icons-material": "^5.16.14",
4242
"@mui/material": "^5.16.14",
43-
"@mui/x-data-grid": "^6.19.11",
43+
"@mui/x-data-grid": "^7.27.2",
4444
"@react-hook/cache": "^1.1.1",
4545
"@reduxjs/toolkit": "^2.2.8",
4646
"autosuggest-highlight": "^3.3.4",

src/components/overlays/AddAppUserRoles/UserListContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export default function UserListContent() {
7878
field: 'name',
7979
headerName: t('global.field.name'),
8080
flex: 4,
81-
valueGetter: ({ row }: { row: TenantUser }) =>
81+
valueGetter: (_value_, row: TenantUser) =>
8282
`${row.firstName} ${row.lastName}`,
8383
},
8484
{ field: 'email', headerName: t('global.field.email'), flex: 5 },

src/components/pages/Admin/RegistrationRequests/RegistrationTableColumns.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
********************************************************************************/
2020

2121
import { IconButton, Typography } from '@catena-x/portal-shared-components'
22-
import type { GridColDef } from '@mui/x-data-grid'
2322
import ArrowForwardIcon from '@mui/icons-material/ArrowForward'
2423
import dayjs from 'dayjs'
2524
import _ from 'lodash'
@@ -34,6 +33,7 @@ import type i18next from 'i18next'
3433
import { Progress } from 'components/shared/basic/Progress'
3534
import './style.scss'
3635
import { Box } from '@mui/material'
36+
import { type GridColDef } from '@mui/x-data-grid'
3737

3838
interface StatusProgressProps {
3939
application: ApplicationRequest
@@ -253,7 +253,7 @@ export const RegistrationRequestsTableColumns = (
253253
headerName: t('content.admin.registration-requests.columns.age'),
254254
flex: 1.1,
255255
disableColumnMenu: true,
256-
valueGetter: ({ row }: { row: ApplicationRequest }) => {
256+
valueGetter: (_value_: ApplicationRequest, row: ApplicationRequest) => {
257257
const date1 = dayjs(row.dateCreated).format('YYYY-MM-DD')
258258
const date2 = dayjs()
259259
const days = date2.diff(date1, 'days')

src/components/pages/CompanyData/CompanyAddressList.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ export const CompanyAddressList = ({
183183
return (
184184
<>
185185
<Table
186-
loading={isFetching || isOutputLoading || isInputLoading}
186+
loading={isFetching ?? isOutputLoading ?? isInputLoading}
187187
hasMore={data && data.totalPages > page + 1}
188188
nextPage={() => {
189189
setPage((i) => i + 1)
@@ -228,7 +228,7 @@ export const CompanyAddressList = ({
228228
align: 'left',
229229
headerName: t('content.companyData.table.site'),
230230
flex: 1.5,
231-
valueGetter: ({ row }: { row: CompanyDataType }) =>
231+
valueGetter: (_value_, row: CompanyDataType) =>
232232
row.site?.name ?? '',
233233
},
234234
{
@@ -237,7 +237,7 @@ export const CompanyAddressList = ({
237237
align: 'left',
238238
headerName: t('content.companyData.table.location'),
239239
flex: 2,
240-
valueGetter: ({ row }: { row: CompanyDataType }) =>
240+
valueGetter: (_value_, row: CompanyDataType) =>
241241
row.address
242242
? `${row.address.name ?? ''} ${row.address.physicalPostalAddress.street?.name ?? ''} ${row.address.physicalPostalAddress.street?.houseNumber ?? ''} ${row.address.physicalPostalAddress.city ?? ''} ${row.address.physicalPostalAddress.postalCode ?? ''} ${row.address.physicalPostalAddress.country ?? ''}`
243243
: '',
@@ -248,7 +248,7 @@ export const CompanyAddressList = ({
248248
align: 'left',
249249
headerName: t('content.companyData.table.type'),
250250
flex: 1,
251-
valueGetter: ({ row }: { row: CompanyDataType }) =>
251+
valueGetter: (_value_, row: CompanyDataType) =>
252252
row.address.addressType === AddressType.SiteMainAddress
253253
? 'S'
254254
: 'A',

src/components/pages/CompanyData/SelectList.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export const SelectList = ({
8686
disabled={disabled}
8787
// eslint-disable-next-line
8888
options={items.map((item: any) => item)}
89-
getOptionLabel={(option) => option[keyTitle] || ''}
89+
getOptionLabel={(option) => option[keyTitle] ?? ''}
9090
onChange={(_event, nextValue) => {
9191
handleChange(nextValue)
9292
}}
@@ -103,7 +103,8 @@ export const SelectList = ({
103103
return (
104104
<SelectInput
105105
className="cx-select-list__input"
106-
params={params}
106+
// eslint-disable-next-line
107+
params={params as any}
107108
label={label}
108109
placeholder={placeholder}
109110
variant={variant}

src/components/pages/IDPManagement/IDPList.tsx

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ export const IDPList = ({ isManagementOSP }: { isManagementOSP?: boolean }) => {
416416
field: 'displayName',
417417
headerName: t('global.field.name'),
418418
flex: 3,
419-
valueGetter: ({ row }) => getDisplayName(row),
419+
valueGetter: (_value_, row) => getDisplayName(row),
420420
},
421421
{
422422
field: 'alias',
@@ -450,7 +450,8 @@ export const IDPList = ({ isManagementOSP }: { isManagementOSP?: boolean }) => {
450450
field: 'enabled',
451451
headerName: t('global.field.status'),
452452
flex: 2,
453-
valueGetter: ({ row }) => getStatus(row.enabled, row.oidc?.clientId),
453+
valueGetter: (_value_, row) =>
454+
getStatus(row.enabled, row.oidc?.clientId),
454455
renderCell: (params) => {
455456
const status = params.value
456457
return (
@@ -490,7 +491,13 @@ export const IDPList = ({ isManagementOSP }: { isManagementOSP?: boolean }) => {
490491
searchDebounce={isManagementOSP ? 1000 : undefined}
491492
onButtonClick={() => dispatch(show(OVERLAYS.ADD_IDP))}
492493
buttonLabel={t('content.onboardingServiceProvider.addIdentityProvider')}
493-
sx={isManagementOSP ? style : undefined}
494+
sx={{
495+
'.MuiDataGrid-cell': {
496+
display: 'flex',
497+
alignItems: 'center',
498+
},
499+
...(isManagementOSP ? style : {}),
500+
}}
494501
/>
495502
)
496503
}

src/components/pages/InviteBusinessPartner/InviteList/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,14 @@ export const InviteList = ({
100100
headerName: t('content.invite.columns.firstAndLastName'),
101101
flex: 1.5,
102102
sortable: false,
103-
valueGetter: ({ row }: { row: CompanyInvite }) =>
103+
valueGetter: (_value_, row: CompanyInvite) =>
104104
`${row.firstName || ''} ${row.lastName || ''}`,
105105
},
106106
{
107107
field: 'dateCreated',
108108
headerName: t('content.invite.columns.date'),
109109
flex: 1,
110-
valueGetter: ({ row }: { row: CompanyInvite }) =>
110+
valueGetter: (_value_, row: CompanyInvite) =>
111111
dayjs(row.dateCreated).format('YYYY-MM-DD'),
112112
sortable: false,
113113
},

src/components/pages/PartnerNetwork/partnerNetworkTableColumns.tsx

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* SPDX-License-Identifier: Apache-2.0
1919
********************************************************************************/
2020

21-
import type { GridColDef } from '@mui/x-data-grid'
21+
import { type GridColDef } from '@mui/x-data-grid'
2222
import { IconButton } from '@catena-x/portal-shared-components'
2323
import ArrowForwardIcon from '@mui/icons-material/ArrowForward'
2424
import type { BusinessPartner } from 'features/newPartnerNetwork/types'
@@ -39,21 +39,23 @@ export const PartnerNetworksTableColumns = (
3939
headerName: t('content.partnernetwork.columns.name'),
4040
flex: 2,
4141
sortable: false,
42-
valueGetter: ({ row }: { row: BusinessPartner }) => row?.legalName ?? '',
42+
valueGetter: (_value_: BusinessPartner, row: BusinessPartner) =>
43+
row?.legalName ?? '',
4344
},
4445
{
4546
field: 'legalEntity.bpn',
4647
headerName: t('content.partnernetwork.columns.bpn'),
4748
flex: 2,
4849
sortable: false,
49-
valueGetter: ({ row }: { row: BusinessPartner }) => row?.bpnl ?? '',
50+
valueGetter: (_value_: BusinessPartner, row: BusinessPartner) =>
51+
row?.bpnl ?? '',
5052
},
5153
{
5254
field: 'cxmember', // Temporary field, doesnt exists yet
5355
headerName: t('content.partnernetwork.columns.cxparticipant'),
5456
flex: 1.5,
5557
sortable: false,
56-
renderCell: (params) =>
58+
renderCell: (params: { row: BusinessPartner }) =>
5759
params?.row?.member ? (
5860
<img
5961
src="/cx-logo.svg"
@@ -71,7 +73,7 @@ export const PartnerNetworksTableColumns = (
7173
headerName: t('content.partnernetwork.columns.country'),
7274
flex: 1.5,
7375
sortable: false,
74-
valueGetter: ({ row }: { row: BusinessPartner }) =>
76+
valueGetter: (_value_: BusinessPartner, row: BusinessPartner) =>
7577
row?.legalAddress?.physicalPostalAddress?.country?.name ??
7678
row?.legalAddress?.alternativePostalAddress?.country?.name ??
7779
'',
@@ -82,7 +84,7 @@ export const PartnerNetworksTableColumns = (
8284
headerAlign: 'center',
8385
flex: 0.8,
8486
align: 'center',
85-
renderCell: (params) =>
87+
renderCell: (params: { row: BusinessPartner }) =>
8688
params?.row?.bpnl ? (
8789
<IconButton
8890
color="secondary"

src/components/pages/TechnicalUserManagement/TechnicalUserTable.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,21 +154,21 @@ export const TechnicalUserTable = () => {
154154
field: 'usertype',
155155
headerName: t('global.field.userType'),
156156
flex: 1.2,
157-
valueGetter: ({ row }: { row: ServiceAccountListEntry }) =>
157+
valueGetter: (_value_, row: ServiceAccountListEntry) =>
158158
row.userType || '-',
159159
},
160160
{
161161
field: 'offer',
162162
headerName: t('global.field.offerLink'),
163163
flex: 1.25,
164-
valueGetter: ({ row }: { row: ServiceAccountListEntry }) =>
164+
valueGetter: (_value_, row: ServiceAccountListEntry) =>
165165
row.offer ? row.offer?.name : '',
166166
},
167167
{
168168
field: 'isOwner',
169169
headerName: t('global.field.owner'),
170170
flex: 1,
171-
valueGetter: ({ row }: { row: ServiceAccountListEntry }) =>
171+
valueGetter: (_value_, row: ServiceAccountListEntry) =>
172172
row.isOwner ? 'Yes' : 'No',
173173
},
174174
{

src/components/shared/basic/ReleaseProcess/TechnicalIntegration/TechUserTable.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export const TechUserTable = ({
6565
align: 'left',
6666
headerName: t('content.apprelease.technicalIntegration.table.name'),
6767
flex: 2,
68-
valueGetter: ({ row }: { row: TechnicalUserProfiles }) =>
68+
valueGetter: (_value_, row: TechnicalUserProfiles) =>
6969
t('content.apprelease.technicalIntegration.table.name') +
7070
' ' +
7171
(findIndex(
@@ -83,7 +83,7 @@ export const TechUserTable = ({
8383
align: 'left',
8484
headerName: t('content.apprelease.technicalIntegration.table.type'),
8585
flex: 1,
86-
valueGetter: ({ row }: { row: TechnicalUserProfiles }) =>
86+
valueGetter: (_value_, row: TechnicalUserProfiles) =>
8787
row.userRoles[0]?.type,
8888
},
8989
{

src/components/shared/frame/SubHeaderTitle/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ export default function SubHeaderTitle({
3737
return (
3838
<Typography
3939
sx={{ fontFamily: 'LibreFranklin-Light' }}
40-
variant={variant}
40+
// eslint-disable-next-line
41+
variant={variant as any}
4142
className="section-title"
4243
>
4344
{`${t(title, params ?? {})}`}

src/components/shared/frame/UserList/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ export const UserList = ({
132132
field: 'name',
133133
headerName: t('global.field.name'),
134134
flex: 2,
135-
valueGetter: ({ row }: { row: TenantUser }) =>
135+
valueGetter: (_value_, row: TenantUser) =>
136136
`${row.firstName} ${row.lastName}`,
137137
},
138138
{ field: 'email', headerName: t('global.field.email'), flex: 3 },

0 commit comments

Comments
 (0)