Remove toast error (#1231)
This commit is contained in:
parent
35be035850
commit
569d0448c2
|
@ -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({
|
||||
|
|
Loading…
Reference in New Issue