mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-13 21:02:08 +08:00
fix(client): replace == with === in donation-saga.js (#57709)
This commit is contained in:
parent
a9c490fda1
commit
310eb2455b
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user