I am having this really weird issue where when I store a value in state, it is changing value.

I'm using a time picker from Antd, and when I select a time, it triggers an `onChange` called `startTimeSelected` that parses out the total minutes and hours of the time selected (eg 8:00 would be 8hrs and 0 mins), and then converts it to minutes (`totalStartMins`), and then stores it in state as `totalStartM`. But when I console log the values of `totalStartMins` and `totalStartM`, the values differ. Any ideas why would be really helpful.

Here's a [CodeSandbox](https://codesandbox.io/s/time-picker-error-xvo4v?file=/src/Row.js) with the code, note that you can't actually test it out I'm not sure why (I think CodeSandbox x Antd issue).