Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
jagnani73 committed May 14, 2024
1 parent 79a3334 commit 65a8b39
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ export const NFTWalletCollectionDetails: React.FC<
useEffect(() => {
(async () => {
if (!initialMaybeResult) {
setMaybeResult(None);
setErrorMessage(null);
try {
setMaybeResult(None);
setErrorMessage(null);
const { data, ...error } =
await covalentClient.NftService.getNftsForAddress(
chain_name,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ export const NFTWalletCollectionList: React.FC<
useEffect(() => {
(async () => {
if (!initialMaybeResult) {
setMaybeResult(None);
setErrorMessage(null);
try {
setMaybeResult(None);
setErrorMessage(null);
const { data, ...error } =
await covalentClient.NftService.getNftsForAddress(
chain_name,
Expand Down

0 comments on commit 65a8b39

Please sign in to comment.