Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Stasn13 committed Oct 22, 2024
1 parent b9a44db commit c0b7805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion explorer/src/pages/Attestations/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const Attestations: React.FC = () => {
if (portalId && regexEthAddress.byNumberOfChar[42].test(portalId))
return sdk.portal.findOneById(portalId || EMPTY_STRING);
});

const { data: schema } = useSWR(`${SWRKeys.GET_SCHEMA_BY_ID}/${schemaId}/${network.chain.id}`, async () => {
if (schemaId && regexEthAddress.byNumberOfChar[64].test(schemaId)) return sdk.schema.findOneById(schemaId);
});
Expand Down

0 comments on commit c0b7805

Please sign in to comment.