Remove toast error (#1231)

This commit is contained in:
Tom 2024-06-11 17:22:20 +01:00 committed by GitHub
parent 35be035850
commit 569d0448c2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

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