Skip to content

Commit

Permalink
Update POAP Modal
Browse files Browse the repository at this point in the history
  • Loading branch information
lucemans committed Nov 3, 2023
1 parent 94bf600 commit 24b7932
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion components/POAPModal/POAPModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ import { IYKRefResponse as IYKReferenceResponse } from '../../hooks/useIYKRef';
import { POAPMetadata } from '../../hooks/usePOAPData';
import { Creeper } from './Creeper';

const SHOW_POAP_ANYWAYS = false;
const OVERRIDE_SHOW_POAP_ANYWAYS = false;

// eslint-disable-next-line no-undef
const query = new URLSearchParams(window?.document?.location?.search);
const SHOW_POAP_ANYWAYS =
OVERRIDE_SHOW_POAP_ANYWAYS || query.get('show_poap') === 'true';

// 10 days
const HIDE_AFTER_TIME = 1000 * 60 * 60 * 24 * 100;
Expand Down

0 comments on commit 24b7932

Please sign in to comment.