Skip to content

Commit

Permalink
Merge pull request holaplex#705 from holaplex/espi/patch-wallet-address
Browse files Browse the repository at this point in the history
Fix Wallet Queries
  • Loading branch information
kespinola authored Aug 31, 2022
2 parents 9b478d6 + 2e2a597 commit c0675be
Show file tree
Hide file tree
Showing 10 changed files with 45 additions and 47 deletions.
2 changes: 0 additions & 2 deletions src/components/CookieSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ const CookieSettings = (props: {
cookies.holaplex_preference_cookies_acceptance === 'true' || false
);

console.log(preferenceCookies, analyticsCookies);

useEffect(() => {
setAnalyticsCookies(cookies.holaplex_analytics_cookies_acceptance === 'true');
setPreferenceCookies(cookies.holaplex_preference_cookies_acceptance === 'true');
Expand Down
1 change: 1 addition & 0 deletions src/graphql/fragments/FollowEventPreview.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ fragment FollowEventPreview on FollowEvent {
}
}
wallet {
address
nftCounts {
owned
created
Expand Down
1 change: 1 addition & 0 deletions src/graphql/fragments/ListingEventPreview.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ fragment ListingEventPreview on ListingEvent {
}
}
wallet {
address
nftCounts {
owned
created
Expand Down
1 change: 1 addition & 0 deletions src/graphql/fragments/MintEventPreview.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ fragment MintEventPreview on MintEvent {
mintAddress
}
wallet {
address
nftCounts {
owned
created
Expand Down
1 change: 1 addition & 0 deletions src/graphql/fragments/OfferEventPreview.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ fragment OfferEventPreview on OfferEvent {
}
}
wallet {
address
nftCounts {
owned
created
Expand Down
1 change: 1 addition & 0 deletions src/graphql/fragments/PurchaseEventPreview.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ fragment PurchaseEventPreview on PurchaseEvent {
}
}
wallet {
address
nftCounts {
owned
created
Expand Down
20 changes: 20 additions & 0 deletions src/graphql/indexerTypes.ssr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2606,6 +2606,7 @@ export type FeedQuery = {
} | null;
wallet: {
__typename?: 'Wallet';
address: any;
nftCounts: { __typename?: 'WalletNftCount'; owned: number; created: number };
};
}
Expand Down Expand Up @@ -2708,6 +2709,7 @@ export type FeedQuery = {
} | null;
wallet: {
__typename?: 'Wallet';
address: any;
nftCounts: { __typename?: 'WalletNftCount'; owned: number; created: number };
};
}
Expand Down Expand Up @@ -2755,6 +2757,7 @@ export type FeedQuery = {
} | null;
wallet: {
__typename?: 'Wallet';
address: any;
nftCounts: { __typename?: 'WalletNftCount'; owned: number; created: number };
};
}
Expand Down Expand Up @@ -2829,6 +2832,7 @@ export type FeedQuery = {
} | null;
wallet: {
__typename?: 'Wallet';
address: any;
nftCounts: { __typename?: 'WalletNftCount'; owned: number; created: number };
};
}
Expand Down Expand Up @@ -2883,6 +2887,7 @@ export type FeedQuery = {
} | null;
wallet: {
__typename?: 'Wallet';
address: any;
nftCounts: { __typename?: 'WalletNftCount'; owned: number; created: number };
};
}
Expand Down Expand Up @@ -2963,6 +2968,7 @@ export type FollowEventPreviewFragment = {
} | null;
wallet: {
__typename?: 'Wallet';
address: any;
nftCounts: { __typename?: 'WalletNftCount'; owned: number; created: number };
};
};
Expand Down Expand Up @@ -3066,6 +3072,7 @@ export type ListingEventPreviewFragment = {
} | null;
wallet: {
__typename?: 'Wallet';
address: any;
nftCounts: { __typename?: 'WalletNftCount'; owned: number; created: number };
};
};
Expand Down Expand Up @@ -3135,6 +3142,7 @@ export type MintEventPreviewFragment = {
} | null;
wallet: {
__typename?: 'Wallet';
address: any;
nftCounts: { __typename?: 'WalletNftCount'; owned: number; created: number };
};
};
Expand Down Expand Up @@ -3311,6 +3319,7 @@ export type OfferEventPreviewFragment = {
} | null;
wallet: {
__typename?: 'Wallet';
address: any;
nftCounts: { __typename?: 'WalletNftCount'; owned: number; created: number };
};
};
Expand Down Expand Up @@ -3375,6 +3384,7 @@ export type PurchaseEventPreviewFragment = {
} | null;
wallet: {
__typename?: 'Wallet';
address: any;
nftCounts: { __typename?: 'WalletNftCount'; owned: number; created: number };
};
};
Expand Down Expand Up @@ -3584,6 +3594,7 @@ export type HomeQuery = {
} | null;
wallet: {
__typename?: 'Wallet';
address: any;
nftCounts: { __typename?: 'WalletNftCount'; owned: number; created: number };
};
}
Expand Down Expand Up @@ -3686,6 +3697,7 @@ export type HomeQuery = {
} | null;
wallet: {
__typename?: 'Wallet';
address: any;
nftCounts: { __typename?: 'WalletNftCount'; owned: number; created: number };
};
}
Expand Down Expand Up @@ -3733,6 +3745,7 @@ export type HomeQuery = {
} | null;
wallet: {
__typename?: 'Wallet';
address: any;
nftCounts: { __typename?: 'WalletNftCount'; owned: number; created: number };
};
}
Expand Down Expand Up @@ -3807,6 +3820,7 @@ export type HomeQuery = {
} | null;
wallet: {
__typename?: 'Wallet';
address: any;
nftCounts: { __typename?: 'WalletNftCount'; owned: number; created: number };
};
}
Expand Down Expand Up @@ -3861,6 +3875,7 @@ export type HomeQuery = {
} | null;
wallet: {
__typename?: 'Wallet';
address: any;
nftCounts: { __typename?: 'WalletNftCount'; owned: number; created: number };
};
}
Expand Down Expand Up @@ -5378,6 +5393,7 @@ export const FollowEventPreviewFragmentDoc = gql`
}
}
wallet {
address
nftCounts {
owned
created
Expand Down Expand Up @@ -5464,6 +5480,7 @@ export const ListingEventPreviewFragmentDoc = gql`
}
}
wallet {
address
nftCounts {
owned
created
Expand Down Expand Up @@ -5522,6 +5539,7 @@ export const MintEventPreviewFragmentDoc = gql`
mintAddress
}
wallet {
address
nftCounts {
owned
created
Expand Down Expand Up @@ -5681,6 +5699,7 @@ export const OfferEventPreviewFragmentDoc = gql`
}
}
wallet {
address
nftCounts {
owned
created
Expand Down Expand Up @@ -5725,6 +5744,7 @@ export const PurchaseEventPreviewFragmentDoc = gql`
}
}
wallet {
address
nftCounts {
owned
created
Expand Down
20 changes: 20 additions & 0 deletions src/graphql/indexerTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2606,6 +2606,7 @@ export type FeedQuery = {
} | null;
wallet: {
__typename?: 'Wallet';
address: any;
nftCounts: { __typename?: 'WalletNftCount'; owned: number; created: number };
};
}
Expand Down Expand Up @@ -2708,6 +2709,7 @@ export type FeedQuery = {
} | null;
wallet: {
__typename?: 'Wallet';
address: any;
nftCounts: { __typename?: 'WalletNftCount'; owned: number; created: number };
};
}
Expand Down Expand Up @@ -2755,6 +2757,7 @@ export type FeedQuery = {
} | null;
wallet: {
__typename?: 'Wallet';
address: any;
nftCounts: { __typename?: 'WalletNftCount'; owned: number; created: number };
};
}
Expand Down Expand Up @@ -2829,6 +2832,7 @@ export type FeedQuery = {
} | null;
wallet: {
__typename?: 'Wallet';
address: any;
nftCounts: { __typename?: 'WalletNftCount'; owned: number; created: number };
};
}
Expand Down Expand Up @@ -2883,6 +2887,7 @@ export type FeedQuery = {
} | null;
wallet: {
__typename?: 'Wallet';
address: any;
nftCounts: { __typename?: 'WalletNftCount'; owned: number; created: number };
};
}
Expand Down Expand Up @@ -2963,6 +2968,7 @@ export type FollowEventPreviewFragment = {
} | null;
wallet: {
__typename?: 'Wallet';
address: any;
nftCounts: { __typename?: 'WalletNftCount'; owned: number; created: number };
};
};
Expand Down Expand Up @@ -3066,6 +3072,7 @@ export type ListingEventPreviewFragment = {
} | null;
wallet: {
__typename?: 'Wallet';
address: any;
nftCounts: { __typename?: 'WalletNftCount'; owned: number; created: number };
};
};
Expand Down Expand Up @@ -3135,6 +3142,7 @@ export type MintEventPreviewFragment = {
} | null;
wallet: {
__typename?: 'Wallet';
address: any;
nftCounts: { __typename?: 'WalletNftCount'; owned: number; created: number };
};
};
Expand Down Expand Up @@ -3311,6 +3319,7 @@ export type OfferEventPreviewFragment = {
} | null;
wallet: {
__typename?: 'Wallet';
address: any;
nftCounts: { __typename?: 'WalletNftCount'; owned: number; created: number };
};
};
Expand Down Expand Up @@ -3375,6 +3384,7 @@ export type PurchaseEventPreviewFragment = {
} | null;
wallet: {
__typename?: 'Wallet';
address: any;
nftCounts: { __typename?: 'WalletNftCount'; owned: number; created: number };
};
};
Expand Down Expand Up @@ -3584,6 +3594,7 @@ export type HomeQuery = {
} | null;
wallet: {
__typename?: 'Wallet';
address: any;
nftCounts: { __typename?: 'WalletNftCount'; owned: number; created: number };
};
}
Expand Down Expand Up @@ -3686,6 +3697,7 @@ export type HomeQuery = {
} | null;
wallet: {
__typename?: 'Wallet';
address: any;
nftCounts: { __typename?: 'WalletNftCount'; owned: number; created: number };
};
}
Expand Down Expand Up @@ -3733,6 +3745,7 @@ export type HomeQuery = {
} | null;
wallet: {
__typename?: 'Wallet';
address: any;
nftCounts: { __typename?: 'WalletNftCount'; owned: number; created: number };
};
}
Expand Down Expand Up @@ -3807,6 +3820,7 @@ export type HomeQuery = {
} | null;
wallet: {
__typename?: 'Wallet';
address: any;
nftCounts: { __typename?: 'WalletNftCount'; owned: number; created: number };
};
}
Expand Down Expand Up @@ -3861,6 +3875,7 @@ export type HomeQuery = {
} | null;
wallet: {
__typename?: 'Wallet';
address: any;
nftCounts: { __typename?: 'WalletNftCount'; owned: number; created: number };
};
}
Expand Down Expand Up @@ -5378,6 +5393,7 @@ export const FollowEventPreviewFragmentDoc = gql`
}
}
wallet {
address
nftCounts {
owned
created
Expand Down Expand Up @@ -5464,6 +5480,7 @@ export const ListingEventPreviewFragmentDoc = gql`
}
}
wallet {
address
nftCounts {
owned
created
Expand Down Expand Up @@ -5522,6 +5539,7 @@ export const MintEventPreviewFragmentDoc = gql`
mintAddress
}
wallet {
address
nftCounts {
owned
created
Expand Down Expand Up @@ -5681,6 +5699,7 @@ export const OfferEventPreviewFragmentDoc = gql`
}
}
wallet {
address
nftCounts {
owned
created
Expand Down Expand Up @@ -5725,6 +5744,7 @@ export const PurchaseEventPreviewFragmentDoc = gql`
}
}
wallet {
address
nftCounts {
owned
created
Expand Down
Loading

0 comments on commit c0675be

Please sign in to comment.