From 90888a2cc60e0e9ebf02ae401473181f630282a2 Mon Sep 17 00:00:00 2001 From: James Grugett Date: Tue, 8 Mar 2022 15:34:58 -0600 Subject: [PATCH] Include time param in tweet url, so image preview is re-fetched --- web/components/contract-card.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/components/contract-card.tsx b/web/components/contract-card.tsx index 33c00ff5..0bea1ec3 100644 --- a/web/components/contract-card.tsx +++ b/web/components/contract-card.tsx @@ -337,7 +337,9 @@ const getTweetText = (contract: Contract, isCreator: boolean) => { contract )} chance, place your bets here:` : `Submit your own answer:` - const url = `https://manifold.markets${contractPath(contract)}` + + const timeParam = `${Date.now()}`.substring(7) + const url = `https://manifold.markets${contractPath(contract)}?t=${timeParam}` return `${tweetQuestion}\n\n${tweetDescription}\n\n${url}` }