Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
components/poster/html2canvas.min.js
2 changes: 1 addition & 1 deletion components/bridge/BridgeSwitch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export default function BridgeSwitch() {
.catch((error) => {
console.log(error);
});
}, [selectedBadge, chain?.id, address]);
}, [selectedBadge, chain?.id, address, NFTContract]);

useEffect(() => {
const galxeBadges: GalxeBadge[] = ((data as any)?.user as NFTQueryResult)?.galxeBadges;
Expand Down
2 changes: 1 addition & 1 deletion components/collab/CollabInfoButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export default function CollabInfoButton({ data }: CollabInfoButtonProps) {
toast.error(<Message title="Ah shit, here we go again" message="save error" />);
setIsWriteLoading(false);
}
}, [isChainJoined, collabContract, address, isCorrectNetwork, setConnectOpen, switchNetwork, collabCode, onChainIpfs]);
}, [isChainJoined, collabContract, address, isCorrectNetwork, setConnectOpen, switchNetwork, collabCode, onChainIpfs, mutationJoin]);

useEffect(() => {
if (
Expand Down
1 change: 1 addition & 0 deletions components/poster/PosterCanvas.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export default function PosterCanvas({ gamerInfo, gamerGames }: { gamerInfo?: Ga
useEffect(() => {
const capture: HTMLElement | null = document.querySelector('#poster-capture');
console.log("*****************************************************************************************************")
// @ts-ignore
html2canvas(capture, {
useCORS: true,
allowTaint: true,
Expand Down
2 changes: 2 additions & 0 deletions components/poster/html2canvas.min.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
declare const html2canvas: any;
export default html2canvas;