Skip to content

Commit 3de33bd

Browse files
authored
i hate order of precedence (#5134)
1 parent b47a982 commit 3de33bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reflex/.templates/web/utils/state.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,7 @@ export const isTrue = (val) => {
954954
* @returns True if the value is not null or undefined, false otherwise.
955955
*/
956956
export const isNotNullOrUndefined = (val) => {
957-
return val ?? undefined !== undefined;
957+
return (val ?? undefined) !== undefined;
958958
};
959959

960960
/**

0 commit comments

Comments
 (0)