From 569d0448c26280b8b682152f41704a5ec23071c7 Mon Sep 17 00:00:00 2001 From: Tom Date: Tue, 11 Jun 2024 17:22:20 +0100 Subject: [PATCH] Remove toast error (#1231) --- components/form.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/form.js b/components/form.js index 7b047f89..9435e8a0 100644 --- a/components/form.js +++ b/components/form.js @@ -121,7 +121,7 @@ export function MarkdownInput ({ label, topLevel, groupClassName, onChange, onKe const imageUploadRef = useRef(null) const previousTab = useRef(tab) const { merge, setDisabled: setSubmitDisabled } = useFeeButton() - const toaster = useToast() + const [updateImageFeesInfo] = useLazyQuery(gql` query imageFeesInfo($s3Keys: [Int]!) { imageFeesInfo(s3Keys: $s3Keys) { @@ -135,7 +135,6 @@ export function MarkdownInput ({ label, topLevel, groupClassName, onChange, onKe nextFetchPolicy: 'no-cache', onError: (err) => { console.error(err) - toaster.danger(`unabled to get image fees: ${err.message || err.toString?.()}`) }, onCompleted: ({ imageFeesInfo }) => { merge({