Skip to content

Commit b960bde

Browse files
authored
fix(explorer): do not crash when appData is not parsed (#4983)
1 parent a30ec11 commit b960bde

File tree

1 file changed

+1
-1
lines changed
  • apps/explorer/src/components/orders/OrderHooksDetails

1 file changed

+1
-1
lines changed

apps/explorer/src/components/orders/OrderHooksDetails/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ interface OrderHooksDetailsProps {
1717
export function OrderHooksDetails({ appData, fullAppData, children }: OrderHooksDetailsProps) {
1818
const { appDataDoc } = useAppData(appData, fullAppData)
1919

20-
if (!appDataDoc) return null
20+
if (!appDataDoc?.metadata) return null
2121

2222
const metadata = appDataDoc.metadata as latest.Metadata
2323

0 commit comments

Comments
 (0)