diff --git a/bundlesize.config.json b/bundlesize.config.json index 0a7fc189bf..9dd0f6e6db 100644 --- a/bundlesize.config.json +++ b/bundlesize.config.json @@ -26,11 +26,11 @@ }, { "path": "packages/react-instantsearch-hooks/dist/umd/ReactInstantSearchHooks.min.js", - "maxSize": "41.75 kB" + "maxSize": "42.75 kB" }, { "path": "packages/react-instantsearch-hooks-web/dist/umd/ReactInstantSearchHooksDOM.min.js", - "maxSize": "51.25 kB" + "maxSize": "52.25 kB" }, { "path": "packages/react-instantsearch-dom/dist/umd/ReactInstantSearchDOM.min.js", @@ -42,11 +42,11 @@ }, { "path": "packages/vue-instantsearch/vue2/umd/index.js", - "maxSize": "60 kB" + "maxSize": "61.25 kB" }, { "path": "packages/vue-instantsearch/vue3/umd/index.js", - "maxSize": "60 kB" + "maxSize": "61.25 kB" }, { "path": "packages/vue-instantsearch/vue2/cjs/index.js", diff --git a/examples/react-hooks/default-theme/src/components/Refresh.tsx b/examples/react-hooks/default-theme/src/components/Refresh.tsx index 8fa0878dfe..74711ed204 100644 --- a/examples/react-hooks/default-theme/src/components/Refresh.tsx +++ b/examples/react-hooks/default-theme/src/components/Refresh.tsx @@ -4,6 +4,7 @@ import './Refresh.css'; export function Refresh() { const { refresh } = useInstantSearch(); + return (