Skip to content

Commit

Permalink
Remove not needed check
Browse files Browse the repository at this point in the history
  • Loading branch information
cbravobernal committed May 9, 2024
1 parent 19d302d commit 8ba40ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/interactivity/src/hooks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ export const getEvaluate: GetEvaluate =
if ( typeof path !== 'string' ) {
throw new Error( 'The `value` prop should be a string path' );
}
if ( ! namespace || namespace === '' ) {
if ( ! namespace ) {
// TODO: Support lazy/dynamically initialized stores
warn(
`The "namespace" cannot be "{}", "null" or an emtpy string. Path: ${ path }`
Expand Down

0 comments on commit 8ba40ca

Please sign in to comment.