Skip to content

Commit 6ebd240

Browse files
committed
rename variable
1 parent 92d65d1 commit 6ebd240

File tree

1 file changed

+2
-2
lines changed
  • examples/example-callbacks/src

1 file changed

+2
-2
lines changed

examples/example-callbacks/src/App.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ const App = () => {
1717
onReplySuccess={(comment) => console.log('Callback: onReplySuccess', comment)}
1818
onVoteSuccess={(comment, voteId, direction, status) => console.log('Callback: onVoteSuccess', comment, voteId, direction, status)}
1919
onImageClicked={(src) => console.log('Callback: onImageClicked', src)}
20-
onOpenProfile={(userId) => {
21-
console.log('Callback: onOpenProfile', userId);
20+
onOpenProfile={(context) => {
21+
console.log('Callback: onOpenProfile', context);
2222
return false;
2323
}}
2424
onUserBlocked={(userId, comment, isBlocked) => {

0 commit comments

Comments
 (0)