diff --git a/app/src/organisms/Devices/ProtocolRun/ProtocolRunRunTimeParameters.tsx b/app/src/organisms/Devices/ProtocolRun/ProtocolRunRunTimeParameters.tsx
index 31d6d7f4d42..9066e66dae5 100644
--- a/app/src/organisms/Devices/ProtocolRun/ProtocolRunRunTimeParameters.tsx
+++ b/app/src/organisms/Devices/ProtocolRun/ProtocolRunRunTimeParameters.tsx
@@ -78,7 +78,7 @@ export function ProtocolRunRuntimeParameters({
{!hasParameter ? (
-
+
) : (
<>
diff --git a/app/src/organisms/ProtocolDetails/ProtocolParameters/index.tsx b/app/src/organisms/ProtocolDetails/ProtocolParameters/index.tsx
index 81c0c0ccee8..89e740e6fc6 100644
--- a/app/src/organisms/ProtocolDetails/ProtocolParameters/index.tsx
+++ b/app/src/organisms/ProtocolDetails/ProtocolParameters/index.tsx
@@ -48,7 +48,7 @@ export function ProtocolParameters({
) : (
-
+
)}
)
diff --git a/components/src/molecules/ParametersTable/ProtocolRunEmptyState.tsx b/components/src/molecules/ParametersTable/ProtocolRunEmptyState.tsx
index f0d77616c9f..cff67bf47a6 100644
--- a/components/src/molecules/ParametersTable/ProtocolRunEmptyState.tsx
+++ b/components/src/molecules/ParametersTable/ProtocolRunEmptyState.tsx
@@ -8,11 +8,11 @@ import { Flex } from '../../primitives'
import { ALIGN_CENTER, DIRECTION_COLUMN } from '../../styles'
interface ProtocolRunEmptyStateProps {
- contentType?: 'parameters' | 'moduleControls'
+ contentType: 'parameters' | 'moduleControls'
}
export function ProtocolRunEmptyState({
- contentType = 'parameters',
+ contentType,
}: ProtocolRunEmptyStateProps): JSX.Element {
const bodyText =
contentType === 'parameters'
diff --git a/components/src/molecules/ParametersTable/__tests__/ProtocolRunEmptyState.test.tsx b/components/src/molecules/ParametersTable/__tests__/ProtocolRunEmptyState.test.tsx
index 3dbd24d499a..59aa8a9c847 100644
--- a/components/src/molecules/ParametersTable/__tests__/ProtocolRunEmptyState.test.tsx
+++ b/components/src/molecules/ParametersTable/__tests__/ProtocolRunEmptyState.test.tsx
@@ -18,6 +18,7 @@ describe('NoParameters', () => {
contentType: 'parameters',
}
})
+
it('should render text and icon with proper color - parameters', () => {
render(props)
screen.getByLabelText('alert')