Skip to content

Commit a256b02

Browse files
committed
Only check for presence of a flag
1 parent ec7848d commit a256b02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/sdk/src/react/stream.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function isCustomOptions<
2222
| UseStreamOptions<StateType, Bag>
2323
| UseStreamCustomOptions<StateType, Bag>
2424
): options is UseStreamCustomOptions<StateType, Bag> {
25-
return "transport" in options && options.transport !== undefined;
25+
return "transport" in options;
2626
}
2727

2828
export function useStream<

0 commit comments

Comments
 (0)