Skip to content

Commit

Permalink
Use null
Browse files Browse the repository at this point in the history
  • Loading branch information
cbravobernal committed May 6, 2024
1 parent bf92d9a commit 5a9a7d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/interactivity/src/vdom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export function toVdom( root ) {
props.__directives = directives.reduce(
( obj, [ name, ns, value ] ) => {
const directiveMatch = directiveParser.exec( name );
if ( ! directiveMatch ) {
if ( directiveMatch === null ) {
if (
// @ts-expect-error This is a debug-only warning.
typeof SCRIPT_DEBUG !== 'undefined' &&
Expand Down

0 comments on commit 5a9a7d5

Please sign in to comment.