Skip to content

Commit

Permalink
fix(client-only-path): do not refresh instance
Browse files Browse the repository at this point in the history
  • Loading branch information
BowlingX committed Jul 9, 2021
1 parent 739a007 commit 40c5085
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/lib/adapters/Next.js.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,8 @@ const GeschichteForNextjs: FC<Props> = ({
})
}
}
}, [
defaultPushOptions,
defaultReplaceOptions,
Router,
initialClientOnlyAsPath
])
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [defaultPushOptions, defaultReplaceOptions])

const useStore = useMemo(() => useGeschichte(historyInstance), [
historyInstance
Expand Down

0 comments on commit 40c5085

Please sign in to comment.