Skip to content

Commit

Permalink
Merge pull request #170 from marsfoundation/show-airdrop-note-on-forks
Browse files Browse the repository at this point in the history
Show airdrop note on forks
  • Loading branch information
krzkaczor authored Jan 12, 2024
2 parents ecaf82f + 0ddb60b commit fe404e0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/hooks/useShouldShowAirdropInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@ import { useProtocolDataContext } from './useProtocolDataContext';
export const useShowAirdropInfo = () => {
const { currentMarket } = useProtocolDataContext();

return currentMarket === CustomMarket.proto_spark_v3;
return (
currentMarket === CustomMarket.proto_spark_v3 ||
currentMarket === ('fork_proto_spark_v3' as any) // workaround to make it work on fork mainnet too
);
};

0 comments on commit fe404e0

Please sign in to comment.