javascript-react-patterns icon indicating copy to clipboard operation
javascript-react-patterns copied to clipboard

Wrong object return

Open ankit-virani opened this issue 3 years ago • 1 comments

Wrong object return Current output get from the pattern

  email: undefined,
  firstName: {
    email: "[email protected]",
    firstName: "John",
    lastName: "Doe"
  },
  lastName: undefined
}```

Output should be 
```{
  email: "[email protected]",
  firstName: "John",
  lastName: "Doe"
}```

ankit-virani avatar Sep 05 '22 09:09 ankit-virani

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
fm-workshop-2 ✅ Ready (Inspect) Visit Preview Sep 5, 2022 at 9:21AM (UTC)

vercel[bot] avatar Sep 05 '22 09:09 vercel[bot]