- {
- //@ts-expect-error fix this when you are working on it
- objectMetadata.lockStatus === 'LOCKED' && (
- <>
- Locked (
- {objectMetadata.objectRetention.mode.toLowerCase()})
-
- until{' '}
-
- >
- )
- }
- {
- //@ts-expect-error fix this when you are working on it
- objectMetadata.lockStatus === 'RELEASED' && (
- <>
- Released
-
- since{' '}
-
- >
- )
- }
- {
- //@ts-expect-error fix this when you are working on it
- objectMetadata.lockStatus === 'NONE' && 'No retention'
- }
+ {objectMetadata.lockStatus === 'LOCKED' && (
+ <>
+ Locked (
+ {objectMetadata.objectRetention.mode.toLowerCase()})
+
+ until{' '}
+
+ >
+ )}
+ {objectMetadata.lockStatus === 'RELEASED' && (
+ <>
+ Released
+
+ since{' '}
+
+ >
+ )}
+ {objectMetadata.lockStatus === 'NONE' && 'No retention'}
{isObjectLockEnabled && (
,
+ component: React.ReactNode = (
+
+ ),
state = {},
) => {
return renderWithRouterMatch(