Skip to content

Commit

Permalink
Fix no reporting of changes on root history instance
Browse files Browse the repository at this point in the history
  • Loading branch information
JAForbes committed Feb 24, 2024
1 parent beabe97 commit 29a4e09
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/index.ts
Expand Up @@ -83,9 +83,7 @@ function Superhistory({
'',
path,
)
onChange({
path,
})
reportChanges()
}

function preview(path: string): string {
Expand Down

0 comments on commit 29a4e09

Please sign in to comment.