Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
imhson committed Mar 22, 2024
1 parent 8167ab1 commit 53cd12b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion app/(private)/components/revealForgingResult.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,12 @@ export const RevealForgingResult = ({
if (data?.request_manager?.[0]?.response?.code >= 500) {
setTimeout(() => {
toast(
data?.request_manager?.[0]?.response?.error?.msg?.[0]?.message || 'Something went wrong. Please try again.',
data?.request_manager?.[0]?.response?.error?.msg?.[0]?.message ||
data?.request_manager?.[0]?.response?.error?.errorMap?.Message ||
'Something went wrong. Please try again.',
{ type: 'error' }
)
onClose()
setRequestLoading(false)
revealSuccessCallBack()
}, 15000)
Expand Down
2 changes: 1 addition & 1 deletion model/token.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export type Token = {
| 'r5'
| 'r6'
| 'r7'
| 'shield'
| 'shield'
media_info: {
onchain: {
metadata: {
Expand Down

0 comments on commit 53cd12b

Please sign in to comment.