From 1db8170cc452eeeb7b4d1c41ce6c9cc386923f2d Mon Sep 17 00:00:00 2001 From: kemuru <102478601+kemuru@users.noreply.github.com> Date: Fri, 13 Dec 2024 17:39:08 +0100 Subject: [PATCH] chore: nitpick space in v2 beta disputes --- .../DisputePreview/DisputeContext.tsx | 21 ++++++++++++------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/web/src/components/DisputePreview/DisputeContext.tsx b/web/src/components/DisputePreview/DisputeContext.tsx index 68472a707..6ef201fd7 100644 --- a/web/src/components/DisputePreview/DisputeContext.tsx +++ b/web/src/components/DisputePreview/DisputeContext.tsx @@ -65,16 +65,21 @@ export const DisputeContext: React.FC = ({ disputeDetails, isRp return ( <> {isUndefined(disputeDetails) ? : (disputeDetails?.title ?? errMsg)} - {!isUndefined(disputeDetails) && ( + {!isUndefined(disputeDetails) ? ( <> - - {disputeDetails?.question} - - - {disputeDetails?.description} - + {disputeDetails?.question?.trim() ? ( + + {disputeDetails.question} + + ) : null} + {disputeDetails?.description?.trim() ? ( + + {disputeDetails.description} + + ) : null} - )} + ) : null} + {isUndefined(disputeDetails?.frontendUrl) ? null : ( Go to arbitrable