@tamagui/core 1.116.4 → 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.
package/dist/native.js CHANGED
@@ -3023,12 +3023,13 @@ var require_useMedia_native = __commonJS({
3023
3023
  }), (0, import_constants2.useIsomorphicLayoutEffect)(function() {
3024
3024
  var update = function() {
3025
3025
  return setState(function(prev) {
3026
+ var keys = getCurrentKeys();
3026
3027
  return getSnapshot(
3027
3028
  prev,
3028
3029
  // because the !didHydrateOnce logic we can't update as we render
3029
3030
  // we need to get the current keys in case we added
3030
3031
  // these only ever add keys so likely ok?
3031
- getCurrentKeys()
3032
+ keys
3032
3033
  );
3033
3034
  });
3034
3035
  };