Remove maxWidth for error messages

This commit is contained in:
Serkan Reis
2022-11-02 10:53:17 +03:00
parent 9eb2fdf302
commit fdec20798e
16 changed files with 19 additions and 19 deletions
+2 -2
View File
@@ -83,7 +83,7 @@ export const useWalletStore = create(
init(signer)
if (walletChange) set({ initializing: false })
} catch (err: any) {
toast.error(err?.message)
toast.error(err?.message, { style: { maxWidth: 'none' } })
set({ initializing: false })
}
},
@@ -113,7 +113,7 @@ export const useWalletStore = create(
const client = (await createQueryClient()) as SigningCosmWasmClient
set({ client })
} catch (err: any) {
toast.error(err?.message)
toast.error(err?.message, { style: { maxWidth: 'none' } })
set({ initializing: false })
}
},