You can do either check the CartItems is correctly stored in localstorage or retrieve correctly.
If everything is okay, then clearing the localstorage,session,cookies sometimes work and save lot of time. Even switching to new Incognito Window (private window) is helpful. Thank you!