From 3a075326436ea4adb5bd747d34268ffe594c230f Mon Sep 17 00:00:00 2001 From: Matt Brophy Date: Thu, 22 Sep 2022 12:52:52 -0400 Subject: [PATCH] doh\! --- packages/react-router/lib/hooks.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-router/lib/hooks.tsx b/packages/react-router/lib/hooks.tsx index bd33825fd5..76350418ad 100644 --- a/packages/react-router/lib/hooks.tsx +++ b/packages/react-router/lib/hooks.tsx @@ -679,7 +679,7 @@ enum DataRouterStateHook { function getDataRouterConsoleError( hookName: DataRouterHook | DataRouterStateHook ) { - return `${hookName} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router`.; + return `${hookName} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`; } function useDataRouterContext(hookName: DataRouterHook) {