From 83ad57564a522b9c45be5de3a398c9ffc5f767db Mon Sep 17 00:00:00 2001 From: Heather Date: Mon, 7 Jul 2025 10:07:14 -0400 Subject: [PATCH] Add destructuring to access state in onRedirectCallback example in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0879f51..193b511 100644 --- a/README.md +++ b/README.md @@ -146,7 +146,7 @@ function App() { { + onRedirectCallback={({ state }) => { // Access your data here if (state?.returnTo) { window.location.href = state.returnTo;