You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/useSplitClient.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ export function useSplitClient(options?: IUseSplitClientOptions): ISplitContextV
31
31
constcontext=useSplitContext();
32
32
const{client: contextClient, factory }=context;
33
33
34
-
// @TODO Move `getSplitClient` side effects
34
+
// @TODO Move `getSplitClient` side effects and reduce the function cognitive complexity
35
35
// @TODO Once `SplitClient` is removed, which updates the context, simplify next line as `const client = factory ? getSplitClient(factory, splitKey) : undefined;`
0 commit comments