giggles 0.2.1 → 0.2.2

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -481,7 +481,7 @@ function ScreenEntry({
481
481
  focusFirstChild(screenNodeId);
482
482
  }
483
483
  wasTopRef.current = isTop;
484
- }, [isTop, screenNodeId, focusFirstChild, focusNode, getFocusedId]);
484
+ }, [isTop, screenNodeId, restoreFocus, focusFirstChild, focusNode, getFocusedId]);
485
485
  const value = useMemo2(
486
486
  () => ({ currentRoute: entry, active: isTop, canGoBack, push, pop, replace, reset }),
487
487
  [entry, isTop, canGoBack, push, pop, replace, reset]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "giggles",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",