useActionKey() — supabase Function Reference
Architecture documentation for the useActionKey() function in useActionKey.ts from the supabase codebase.
Entity Profile
Relationship Graph
Source Code
apps/docs/hooks/useActionKey.ts lines 6–20
export function useActionKey() {
let [actionKey, setActionKey] = useState<readonly [string, string]>()
useEffect(() => {
if (typeof navigator !== 'undefined') {
if (/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)) {
setActionKey(ACTION_KEY_APPLE)
} else {
setActionKey(ACTION_KEY_DEFAULT)
}
}
}, [])
return actionKey
}
Domain
Subdomains
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free