From a5994dcbf5ed5c09a439862fef3a430485fd5d83 Mon Sep 17 00:00:00 2001 From: Max Milton Date: Thu, 18 Jul 2024 13:25:02 +0900 Subject: [PATCH] chore: Add `onError` callback to example code --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index b5084cfa..1f71e122 100644 --- a/README.md +++ b/README.md @@ -161,6 +161,7 @@ const App = (): JSX.Element => ( }} // Scroll to top on route change onRouted={() => window.scrollTo(0, 0)} + onError={(error) => console.error(error)} />