Skip to content

Commit

Permalink
Remove redundant param
Browse files Browse the repository at this point in the history
  • Loading branch information
bartblast committed Nov 1, 2024
1 parent f39bcb6 commit aca62c5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions assets/js/hologram.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -624,10 +624,8 @@ export default class Hologram {
}

// Tested implicitely in feature tests
static async #navigateToPage(toParam, pagePath = null) {
if (pagePath === null) {
pagePath = $.#buildPagePath(toParam);
}
static async #navigateToPage(toParam) {
const pagePath = $.#buildPagePath(toParam);

return Client.fetchPage(
toParam,
Expand Down

0 comments on commit aca62c5

Please sign in to comment.