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({