Skip to content

Commit e7175e7

Browse files
committed
fix: replace deprecated substr with substring
1 parent 944cdc3 commit e7175e7

File tree

1 file changed

+1
-1
lines changed
  • src/external/router-slot/util

1 file changed

+1
-1
lines changed

src/external/router-slot/util/url.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export function queryString(): string {
7070
* @returns Params
7171
*/
7272
export function query(): Query {
73-
return toQuery(queryString().substr(1));
73+
return toQuery(queryString().substring(1));
7474
}
7575

7676
/**

0 commit comments

Comments
 (0)