Skip to content

Scheduling infrastructure for absolutely everyone.

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

Nafees Nazik631bf4d9fe43
diff --git a/apps/web/pages/booking/[uid].tsx b/apps/web/pages/booking/[uid].tsx
index 18d002d1ba3..7a04dad9ba9 100644
--- a/apps/web/pages/booking/[uid].tsx
+++ b/apps/web/pages/booking/[uid].tsx
@@ -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" />
)}