diff --git a/package.json b/package.json index d1d863c..21e55f8 100644 --- a/package.json +++ b/package.json @@ -29,8 +29,8 @@ }, "homepage": "https://github.com/rive-app/rive-react#readme", "dependencies": { - "@rive-app/canvas": "1.0.71", - "@rive-app/webgl": "1.0.68" + "@rive-app/canvas": "1.0.75", + "@rive-app/webgl": "1.0.72" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0" diff --git a/src/utils.ts b/src/utils.ts index 3a31afc..10f642c 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -58,7 +58,7 @@ export function useSize( height: entries[entries.length - 1].contentRect.height, }); } - }, 16) + }, 0) ) );