Skip to content

Commit

Permalink
fix: trending with no contracts return (#8489)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouhanseng committed Jan 13, 2023
1 parent 0a51515 commit a0dcf73
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export function TrendingView(props: TrendingViewProps) {
!isNFT &&
!!trending?.coin.contract_address &&
chainIdValid &&
trending.contracts?.[0].pluginID === NetworkPluginID.PLUGIN_EVM
trending.contracts?.[0]?.pluginID === NetworkPluginID.PLUGIN_EVM
// #endregion

// #region expected chainId
Expand Down

0 comments on commit a0dcf73

Please sign in to comment.