From 3ab9ef4c80eb3b3573d4333a11dd2bce2838b8a5 Mon Sep 17 00:00:00 2001 From: Bamdad Sabbagh Date: Wed, 30 Mar 2022 19:51:34 +0200 Subject: [PATCH] fix: Specify `.js` extension --- src/use-next-replace-url.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/use-next-replace-url.js b/src/use-next-replace-url.js index 13259eb..f81cb9e 100644 --- a/src/use-next-replace-url.js +++ b/src/use-next-replace-url.js @@ -1,5 +1,5 @@ import {useEffect} from 'react'; -import {nextReplaceUrl} from './next-replace-url'; +import {nextReplaceUrl} from './next-replace-url.js'; /** * React Hook for replacing URL parameter in Next.js without re-rendering