@camunda/camunda-composite-components 0.2.16-rc.1 → 0.2.16-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -139,10 +139,7 @@ export const C3HelpCenter = ({ autoStartSurvey, origin, flags, onRequestClose, m
139
139
  const closeFn = () => {
140
140
  if (persona && userToken && activeOrganizationId && decodedAudience) {
141
141
  updatePersona({
142
- newPersona: {
143
- ...persona,
144
- wasShown: true,
145
- },
142
+ newPersona: persona,
146
143
  audience: decodedAudience,
147
144
  accessToken: userToken,
148
145
  orgId: activeOrganizationId,
@@ -34,7 +34,7 @@ export const C3OnboardingSurvey = (props) => {
34
34
  setOnboardConfig(config);
35
35
  setIsLoadingConfig(false);
36
36
  })();
37
- }, [JSON.stringify(decodedToken), decodedAudience]);
37
+ }, [JSON.stringify(decodedToken), decodedAudience, persona?.nextStep]);
38
38
  React.useEffect(() => {
39
39
  setPersona(props.persona);
40
40
  }, [props.persona]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/camunda-composite-components",
3
- "version": "0.2.16-rc.1",
3
+ "version": "0.2.16-rc.2",
4
4
  "scripts": {
5
5
  "clean": "rimraf lib/",
6
6
  "build": "yarn clean && tsc",