We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 488df36 commit 25ec0fdCopy full SHA for 25ec0fd
packages/passport/sdk/src/zkEvm/sessionActivity/sessionActivity.ts
@@ -33,6 +33,9 @@ syncSendCount();
33
34
const incrementSendCount = (clientId: string) => {
35
syncSendCount();
36
+ if (!sendCount[clientId]) {
37
+ sendCount[clientId] = 0;
38
+ }
39
sendCount[clientId]++;
40
setItem(SESSION_ACTIVITY_COUNT_KEY, sendCount);
41
// Reset checkCount to zero on sending
0 commit comments