Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/agegr/pi-web
/ formatCustomType
Function
formatCustomType
components/MessageView.tsx:1329–1331 ·
view source on GitHub ↗
(type: string)
Source
from the content-addressed store, hash-verified
1327
}
1328
1329
function formatCustomType(type: string): string {
1330
return type ||
"extension"
;
1331
}
1332
1333
function previewText(text: string): string {
1334
const normalized = text.replace(/\s+/g,
" "
).trim();
Callers
1
CustomMessageView
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected