diff --git a/flow-client/src/main/frontend/Flow.ts b/flow-client/src/main/frontend/Flow.ts index a8913db52cf..87c1dc371cc 100644 --- a/flow-client/src/main/frontend/Flow.ts +++ b/flow-client/src/main/frontend/Flow.ts @@ -45,7 +45,7 @@ interface FlowRoot { export interface NavigationParameters { pathname: string; - search: string; + search?: string; } export interface PreventCommands { diff --git a/flow-server/src/main/resources/com/vaadin/flow/server/frontend/dependencies/vaadin-router/package.json b/flow-server/src/main/resources/com/vaadin/flow/server/frontend/dependencies/vaadin-router/package.json index e2d0ea7cb99..14a62358689 100644 --- a/flow-server/src/main/resources/com/vaadin/flow/server/frontend/dependencies/vaadin-router/package.json +++ b/flow-server/src/main/resources/com/vaadin/flow/server/frontend/dependencies/vaadin-router/package.json @@ -9,7 +9,7 @@ "author": "", "license": "Apache-2.0", "dependencies": { - "@vaadin/router": "2.0.0-rc1" + "@vaadin/router": "2.0.0-rc2" }, "devDependencies": { }