fix typo
This commit is contained in:
parent
c5a344c2a0
commit
29da813170
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ type StateDef = Record<
|
|||
type ArrayElement<A> = A extends readonly (infer T)[] ? T : never;
|
||||
|
||||
const stream = useStream();
|
||||
const connection = isSignedIn(me) ? null : stream.useChannel("main");
|
||||
const connection = isSignedIn(me) ? stream.useChannel("main") : null;
|
||||
|
||||
export class Storage<T extends StateDef> {
|
||||
public readonly key: string;
|
||||
|
|
Loading…
Reference in a new issue