diff --git a/packages/react/src/ActionList/ActionList.examples.stories.tsx b/packages/react/src/ActionList/ActionList.examples.stories.tsx
index 9bc3f43797f..8bbfe594692 100644
--- a/packages/react/src/ActionList/ActionList.examples.stories.tsx
+++ b/packages/react/src/ActionList/ActionList.examples.stories.tsx
@@ -208,7 +208,9 @@ export function AsyncListWithSpinner(): JSX.Element {
Search branches
- {results.length === 0 ? No branches match that query : null}
+ {results.length === 0 ? (
+ No branches match that query
+ ) : null}
{getStatusMessage()}