Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenAnonymity/oa-chat
/ normalizeInviteCode
Method
normalizeInviteCode
chat/components/ThanksPanel.js:136–138 ·
view source on GitHub ↗
(value)
Source
from the content-addressed store, hash-verified
134
}
135
136
normalizeInviteCode(value) {
137
return
(value ||
''
).trim().replace(/[\s-]+/g,
''
);
138
}
139
140
isInviteCodeInput(value) {
141
const
normalized = this.normalizeInviteCode(value);
Callers
2
isInviteCodeInput
Method · 0.95
handleInviteSubmit
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected