Skip to content

Commit 8508089

Browse files
author
Alex Lohr
committed
hotfix types
1 parent 30cae63 commit 8508089

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ function render(ui: Ui, options: Options = {}): Result {
9595
get children() {
9696
return [
9797
typeof location === "string" ? createComponent(
98-
() => (useNavigate()(location, { replace: true, scroll: false }), null),
98+
() => (useNavigate()(location as string, { replace: true, scroll: false }), null),
9999
{}
100100
) : null,
101101
createComponent(wrappedUi, {})

0 commit comments

Comments
 (0)