Skip to content

Commit

Permalink
fix(app): rebasing to main and merging remote to integrate updates
Browse files Browse the repository at this point in the history
  • Loading branch information
nebulaic-labs committed Sep 6, 2022
2 parents 35dac59 + 14b0d93 commit 5af14b6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/components/PlatformCards/TwitterPlatform.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,9 @@ export default function TwitterPlatform(): JSX.Element {
// report success to datadog
datadogLogs.logger.info("Successfully saved Stamp", { platform: platformId });
// grab all providers who are verified from the verify response
const actualVerifiedProviders = providerIds.filter((providerId) =>
!!vcs.find((vc: Stamp | undefined) => vc?.credential?.credentialSubject?.provider === providerId)
const actualVerifiedProviders = providerIds.filter(
(providerId) =>
!!vcs.find((vc: Stamp | undefined) => vc?.credential?.credentialSubject?.provider === providerId)
);
// both verified and selected should look the same after save
setVerifiedProviders([...actualVerifiedProviders]);
Expand Down

0 comments on commit 5af14b6

Please sign in to comment.