Skip to content

Commit

Permalink
Merge branch 'develop' into chore/verify-shared-presentation
Browse files Browse the repository at this point in the history
  • Loading branch information
martines3000 committed Apr 22, 2024
2 parents 2a68b45 + 4914969 commit 3ecdfb9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export const RequirementDisplay = ({
if (!issuer) return acc;

if (
!issuer.includes('did:poylgonid') &&
!issuer.includes('did:polygonid') &&
!issuer.includes('did:iden3')
) {
acc.push(credential);
Expand Down
1 change: 0 additions & 1 deletion packages/dapp/src/components/CampaignsDisplay/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
'use client';

import React from 'react';
import { CampaignDisplay } from './CampaignDisplay';
import { useCampaigns } from '@/hooks';
import { Spinner } from '@nextui-org/react';
Expand Down
3 changes: 2 additions & 1 deletion packages/dapp/src/hooks/useCampaignClaims.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@ export type Campaigns = Campaign[];
export const useCampaignClaims = (token: string | null) => {
return useQuery({
queryKey: ['claims'],
enabled: !!token,
queryFn: async () => {
const res = await fetch('/api/campaigns/claims', {
headers: {
'Content-Type': 'application/json',
Authorization: `Bearer ${token}`,
...(token && { Authorization: `Bearer ${token}` }),
},
cache: 'no-store',
});
Expand Down

0 comments on commit 3ecdfb9

Please sign in to comment.