mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-01-10 09:05:55 -05:00
fix(client): replace == with === in donation-saga.js (#57709)
This commit is contained in:
@@ -52,7 +52,7 @@ function* showDonateModalSaga() {
|
||||
if (
|
||||
shouldRequestDonation &&
|
||||
recentlyClaimedBlock &&
|
||||
recentlyClaimedBlock.superBlock == 'full-stack-developer'
|
||||
recentlyClaimedBlock.superBlock === 'full-stack-developer'
|
||||
) {
|
||||
yield put(preventBlockDonationRequests());
|
||||
} else if (shouldRequestDonation || isModalRecentlyShown) {
|
||||
|
||||
Reference in New Issue
Block a user