Skip to content

Commit 3381ebb

Browse files
committed
DOC-3161: fix issue
1 parent 27e22c3 commit 3381ebb

File tree

1 file changed

+3
-0
lines changed
  • modules/ROOT/examples/live-demos/comments-callback-with-mentions

1 file changed

+3
-0
lines changed

modules/ROOT/examples/live-demos/comments-callback-with-mentions/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ import ('https://cdn.jsdelivr.net/npm/@faker-js/faker@9/dist/index.min.js').then
1919
const currentUid = 'kalebwilson';
2020
const adminUid = 'michaelcook';
2121

22+
const currentUser = userDb[currentUid];
23+
const adminUser = userDb[adminUid];
24+
2225
const now = new Date();
2326
const yesterday = new Date(now.getTime() - 24 * 60 * 60 * 1000).toISOString();
2427
const anhourago = new Date(now.getTime() - 60 * 60 * 1000).toISOString();

0 commit comments

Comments
 (0)