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

Function arm

packages/shared/src/components/auth/EmailCodeVerification.tsx:100–102  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98 const isCodeInput = (el: Element | null) =>
99 el?.getAttribute('autocomplete') === 'one-time-code';
100 const arm = () => {
101 resetUntil = Date.now() + 900;
102 };
103
104 const onFocusIn = (e: FocusEvent) => {
105 if (isCodeInput(e.target as Element)) {

Callers 2

onFocusInFunction · 0.85
onViewportResizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected