Skip to content

Commit

Permalink
addressing review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitakinger committed Mar 12, 2025
1 parent b15dd32 commit eab2050
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ export const AppIDEFocusStrategy: FocusStrategy = {
}

// We do not have to add any query params because this url is used as the key
return parentUrl.split("?")[0] + `#${branch}`;
return `${parentUrl.split("?")[0]}#${branch}`;
},
*waitForPathLoad(currentPath: string, previousPath?: string) {
if (previousPath) {
Expand Down
4 changes: 3 additions & 1 deletion app/client/src/ce/navigation/FocusStrategy/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ export interface FocusStrategy {
getEntityParentUrl: (
entityInfo: FocusEntityInfo,
parentEntity: FocusEntity,
) => Generator<unknown, string, unknown>;
// TODO: Fix this the next time the file is edited
// eslint-disable-next-line @typescript-eslint/no-explicit-any
) => Generator<any, string, any>;
/** Define a wait (saga) before we start setting states **/
waitForPathLoad: (
currentPath: string,
Expand Down

0 comments on commit eab2050

Please sign in to comment.