Skip to content

Commit

Permalink
Update formatting on cell template
Browse files Browse the repository at this point in the history
  • Loading branch information
dac09 committed May 21, 2021
1 parent 1a67d1e commit af6c749
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ export const Loading = () => <div>Loading...</div>

export const Empty = () => <div>Empty</div>

export const Failure = ({ error }: CellFailureProps) => <div style={{color: 'red'}}>Error: {error.message}</div>
export const Failure = ({ error }: CellFailureProps) => (
<div style={{ color: 'red' }}>Error: {error.message}</div>
)

export const Success = ({ ${camelName} }: CellSuccessProps<${operationName}>) => {
return <div>{JSON.stringify(${camelName})}</div>
Expand Down

0 comments on commit af6c749

Please sign in to comment.