Skip to content

Commit

Permalink
Show airdrop note on forks
Browse files Browse the repository at this point in the history
  • Loading branch information
krzkaczor committed Jan 12, 2024
1 parent ecaf82f commit 0ddb60b
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 0ddb60b

Please sign in to comment.