@tamagui/core 1.116.3 → 1.116.5

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.
@@ -2837,12 +2837,13 @@ var require_useMedia_native = __commonJS({
2837
2837
  }), (0, import_constants2.useIsomorphicLayoutEffect)(function() {
2838
2838
  var update = function() {
2839
2839
  return setState(function(prev) {
2840
+ var keys = getCurrentKeys();
2840
2841
  return getSnapshot(
2841
2842
  prev,
2842
2843
  // because the !didHydrateOnce logic we can't update as we render
2843
2844
  // we need to get the current keys in case we added
2844
2845
  // these only ever add keys so likely ok?
2845
- getCurrentKeys()
2846
+ keys
2846
2847
  );
2847
2848
  });
2848
2849
  };