From 1272e15a0e489ca48140b039dc32cea564da8e0c Mon Sep 17 00:00:00 2001 From: ekzyis Date: Wed, 25 Oct 2023 20:24:39 +0200 Subject: [PATCH] Fix stale fees shown If we pay for an image and then want to edit the comment, the cache might return stale date; suggesting we didn't pay for the existing image yet. --- components/form.js | 1 + 1 file changed, 1 insertion(+) diff --git a/components/form.js b/components/form.js index 40a51a78..f0f3a7ae 100644 --- a/components/form.js +++ b/components/form.js @@ -112,6 +112,7 @@ export function MarkdownInput ({ label, topLevel, groupClassName, onChange, onKe sizeNow } }`, { + fetchPolicy: 'no-cache', onError: (err) => { console.log(err) toaster.danger(err.message || err.toString?.())