diff --git a/packages/cli/src/commands/generate/cell/templates/cell.tsx.template b/packages/cli/src/commands/generate/cell/templates/cell.tsx.template index b811e9f9f2ac..e5859d7040a5 100644 --- a/packages/cli/src/commands/generate/cell/templates/cell.tsx.template +++ b/packages/cli/src/commands/generate/cell/templates/cell.tsx.template @@ -13,7 +13,9 @@ export const Loading = () =>
Loading...
export const Empty = () =>
Empty
-export const Failure = ({ error }: CellFailureProps) =>
Error: {error.message}
+export const Failure = ({ error }: CellFailureProps) => ( +
Error: {error.message}
+) export const Success = ({ ${camelName} }: CellSuccessProps<${operationName}>) => { return
{JSON.stringify(${camelName})}