Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

225 B
Raw Blame
import { useMemo } from 'react'
import { isMac } from '@/lib/shortcuts'

export function PlatformMetaKey() {
  const metaKeySymbol = useMemo(() => {
    return isMac ? '⌘' : 'Ctrl'
  }, [])

  return <>{metaKeySymbol}</>
}