Skip to content

Commit

Permalink
fix: provider->platform
Browse files Browse the repository at this point in the history
  • Loading branch information
gdixon committed Sep 6, 2022
1 parent b90d45b commit 8979179
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/components/PlatformCards/FacebookPlatform.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export default function FacebookCard(): JSX.Element {
toast({
duration: 5000,
isClosable: true,
render: (result: any) => <DoneToastContent providerId={platformId} result={result} />,
render: (result: any) => <DoneToastContent platformId={platformId} result={result} />,
});
})
.catch((e): void => {
Expand Down
2 changes: 1 addition & 1 deletion app/components/PlatformCards/GitcoinPlatform.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import { UserContext } from "../../context/userContext";
import { getPlatformSpec } from "../../config/platforms";
import { STAMP_PROVIDERS } from "../../config/providers";

// Each provider is recognised by its ID
// Each platform is recognised by its ID
const platformId: PLATFORM_ID = "Gitcoin";

function generateUID(length: number) {
Expand Down
2 changes: 1 addition & 1 deletion app/components/PlatformCards/GithubPlatform.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import { UserContext } from "../../context/userContext";
import { getPlatformSpec } from "../../config/platforms";
import { STAMP_PROVIDERS } from "../../config/providers";

// Each provider is recognised by its ID
// Each platform is recognised by its ID
const platformId: PLATFORM_ID = "Github";

function generateUID(length: number) {
Expand Down

0 comments on commit 8979179

Please sign in to comment.