Skip to content

Commit e89cbc3

Browse files
committed
Make the ondone paramater of identify optional
1 parent 03578ba commit e89cbc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ function identify(user, hash, onDone) {
8181
if (settings) {
8282
updateSettings(settings);
8383
}
84-
onDone();
84+
onDone && onDone();
8585
});
8686
}
8787

0 commit comments

Comments
 (0)