Skip to content

Commit

Permalink
Update showSoliditySurveyPopup.ts
Browse files Browse the repository at this point in the history
Co-authored-by: John Kane <john@kanej.me>
  • Loading branch information
galargh and kanej authored Jan 14, 2025
1 parent 2f73701 commit bf1e646
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/popups/showSoliditySurveyPopup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export async function showSoliditySurveyPopup({

const lastSeen = context.globalState.get<number>(SURVEY_LAST_SEEN_KEY);

if (lastSeen !== undefined && now > lastSeen + SURVEY_COOLDOWN_PERIOD) {
if (lastSeen !== undefined && now < lastSeen + SURVEY_COOLDOWN_PERIOD) {
return;
}

Expand Down

0 comments on commit bf1e646

Please sign in to comment.