We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30cae63 commit 8508089Copy full SHA for 8508089
1 file changed
src/index.ts
@@ -95,7 +95,7 @@ function render(ui: Ui, options: Options = {}): Result {
95
get children() {
96
return [
97
typeof location === "string" ? createComponent(
98
- () => (useNavigate()(location, { replace: true, scroll: false }), null),
+ () => (useNavigate()(location as string, { replace: true, scroll: false }), null),
99
{}
100
) : null,
101
createComponent(wrappedUi, {})
0 commit comments