MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / onPrivateToggle

Function onPrivateToggle

apps/web/ui/NewChannelModal/index.tsx:82–84  ·  view source on GitHub ↗
(checked: boolean)

Source from the content-addressed store, hash-verified

80 }
81
82 function onPrivateToggle(checked: boolean) {
83 setChannelPrivate(checked);
84 }
85
86 function removeUser(user: SerializedUser) {
87 setUsers((users) => users.filter((u) => u.id !== user.id));

Callers 1

NewChannelModalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected