frst-components 0.21.40 → 0.21.41

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -12818,7 +12818,7 @@ const ContentDescription = styled__default["default"].div `
12818
12818
  const modalNewFeatures = ({ title = 'Novidades', open, onClose, onFinish, steps }) => {
12819
12819
  const [numberCurrentStep, setNumberCurrentStep] = React.useState(0);
12820
12820
  const [currentTopic, setCurrentTopic] = React.useState(steps[numberCurrentStep]);
12821
- const isLastStep = JSON.stringify(currentTopic) === JSON.stringify(steps[steps.length - 1]);
12821
+ const isLastStep = currentTopic === steps[steps.length - 1];
12822
12822
  const labelButton = isLastStep ? 'Entendi' : 'Próximo';
12823
12823
  const variantButton = isLastStep ? 'primary' : 'secondary';
12824
12824
  const handleClickButtonNext = () => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "frst-components",
3
3
  "homepage": "http://FRST-Falconi.github.io/storybook.frstfalconi.com",
4
- "version": "0.21.40",
4
+ "version": "0.21.41",
5
5
  "private": false,
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",