Skip to content

Commit

Permalink
fix handleNavigate export
Browse files Browse the repository at this point in the history
  • Loading branch information
mnholtz committed Jun 10, 2024
1 parent 8e31571 commit 8ce9274
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/contentScript/lifecycle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -563,8 +563,9 @@ function decideRunReason({ force }: { force?: boolean }): RunReason {

/**
* Handle a website navigation, e.g., page load or a URL change in an SPA.
* @knip export used in tests, see lifecycle.test.ts
*/
async function handleNavigate({
export async function handleNavigate({
force,
}: { force?: boolean } = {}): Promise<void> {
const runReason = decideRunReason({ force });
Expand Down

0 comments on commit 8ce9274

Please sign in to comment.