Skip to content

Commit 664de18

Browse files
docs(remote-config): remove unneeded await form remote config socket docs (#7711)
Co-authored-by: luka.sironic <[email protected]>
1 parent d72de9e commit 664de18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/remote-config/usage/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ Here is an example of how to use the feature, with comments emphasizing the key
198198
// Add a config update listener where appropriate, perhaps in app startup, or a specific app area.
199199
// Multiple listeners are supported, so listeners may be screen-specific and only handle certain keys
200200
// depending on application requirements
201-
let remoteConfigListenerUnsubscriber = await remoteConfig().onConfigUpdated((event, error) => {
201+
let remoteConfigListenerUnsubscriber = remoteConfig().onConfigUpdated((event, error) => {
202202
if (error !== undefined) {
203203
console.log('remote-config listener subscription error: ' + JSON.stringify(error));
204204
} else {

0 commit comments

Comments
 (0)