From ceefdaddcfd22883f2927ed94bd01e1deae5497d Mon Sep 17 00:00:00 2001 From: Ihor Bodnarchuk Date: Mon, 1 Aug 2022 16:59:56 -0500 Subject: [PATCH] Fix readme example onboard.state.actions.updateAccountCenter function takes settings object directly, no need for desktop/mobile wrapper otherwise error is thrown --- packages/core/README.md | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/packages/core/README.md b/packages/core/README.md index eb057bdc3..b7cb7f60f 100644 --- a/packages/core/README.md +++ b/packages/core/README.md @@ -700,16 +700,9 @@ If you need to update your Account Center configuration after initialization, yo ```typescript onboard.state.actions.updateAccountCenter({ - desktop: { - position: 'topRight', - enabled: true, - minimal: true - }, - mobile: { - position: 'topRight', - enabled: true, - minimal: true - } + position: 'topRight', + enabled: true, + minimal: true }) ```