fix: hide giphy in cancellation detail page (#7828)

This commit is contained in:
Nafees Nazik
2023-03-20 08:48:22 +01:00
committed by GitHub
parent 8fd1d76227
commit 631bf4d9fe
+1 -1
View File
@@ -431,7 +431,7 @@ export default function Success(props: SuccessProps) {
: "",
isCancelled ? "h-12 w-12 rounded-full bg-red-100" : ""
)}>
{giphyImage && !needsConfirmation && (
{giphyImage && !needsConfirmation && !isCancelled && (
// eslint-disable-next-line @next/next/no-img-element
<img src={giphyImage} alt="Gif from Giphy" />
)}