Skip to content

Commit

Permalink
docs(remote-config): remove unneeded await form remote config socket …
Browse files Browse the repository at this point in the history
…docs (#7711)

Co-authored-by: luka.sironic <[email protected]>
  • Loading branch information
lsironic and lsironic-fve authored May 1, 2024
1 parent d72de9e commit 664de18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/remote-config/usage/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ Here is an example of how to use the feature, with comments emphasizing the key
// Add a config update listener where appropriate, perhaps in app startup, or a specific app area.
// Multiple listeners are supported, so listeners may be screen-specific and only handle certain keys
// depending on application requirements
let remoteConfigListenerUnsubscriber = await remoteConfig().onConfigUpdated((event, error) => {
let remoteConfigListenerUnsubscriber = remoteConfig().onConfigUpdated((event, error) => {
if (error !== undefined) {
console.log('remote-config listener subscription error: ' + JSON.stringify(error));
} else {
Expand Down

0 comments on commit 664de18

Please sign in to comment.