From 79d9fb98dfe7f1f6b288641d8a4abd61015174d4 Mon Sep 17 00:00:00 2001 From: Yuya Tanaka Date: Mon, 7 Oct 2024 22:51:00 +0900 Subject: [PATCH] Fix log --- src/hooks/useInterceptPopState.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/useInterceptPopState.ts b/src/hooks/useInterceptPopState.ts index 8953b10..8090e3f 100644 --- a/src/hooks/useInterceptPopState.ts +++ b/src/hooks/useInterceptPopState.ts @@ -129,7 +129,7 @@ function createHandlePopState( if (DEBUG) { console.log( `useInterceptPopState(): Cancel popstate event, go(): ${ - renderedStateRef.current + renderedStateRef.current.index } - ${nextIndex} = ${-delta}` ); }