Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
hexagon6 committed Dec 7, 2022
1 parent 8ae9b92 commit 148acb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/histoire-plugin-svelte/src/client/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function cleanupState (state: Record<string, any>): Record<string, any> {
if (typeof value === 'function') continue
if (typeof value === 'undefined') continue
if (value instanceof HTMLElement) continue
if (typeof value === 'object' && value.$$) continue
if (typeof value === 'object' && value?.$$) continue
result[key] = value
}
return result
Expand Down

0 comments on commit 148acb8

Please sign in to comment.