MCPcopy Create free account
hub / github.com/dailydotdev/apps / TokenInput

Function TokenInput

packages/shared/src/components/auth/TokenField.tsx:8–20  ·  view source on GitHub ↗
({ token }: TokenInputProps)

Source from the content-addressed store, hash-verified

6}
7
8function TokenInput({ token }: TokenInputProps): ReactElement {
9 return (
10 <input
11 type="text"
12 value={token ?? ''}
13 hidden
14 id="csrf_token"
15 name="csrf_token"
16 data-testid="csrf_token"
17 readOnly
18 />
19 );
20}
21
22export default TokenInput;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected