Remove deprecated method

This commit is contained in:
RMidhunSuresh 2022-02-22 11:43:35 +05:30
parent 92c79c853d
commit 92e8fc8ad3
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ export function addPanelIfNeeded<T extends SegmentType>(navigation: Navigation<T
export function parseUrlPath(urlPath: string, currentNavPath: Path<SegmentType>, defaultSessionId: string): Segment<SegmentType>[] {
// substr(1) to take of initial /
const parts = urlPath.substr(1).split("/");
const parts = urlPath.substring(1).split("/");
const iterator = parts[Symbol.iterator]();
const segments: Segment<SegmentType>[] = [];
let next;