This commit is contained in:
2021-04-06 16:41:13 +02:00
parent a8c119d3ff
commit c7e7b7cbd6
7 changed files with 62 additions and 919 deletions

View File

@@ -1,21 +1,6 @@
import React, { useCallback } from 'react'
import { shell } from 'electron'
const Link: React.FC<{ text: string; link: string }> = ({ text, link }) => {
const fn = useCallback(
(e: any) => {
e.preventDefault()
shell.openExternal(link)
},
[link]
)
return (
<a onClick={fn} href={link}>
{' '}
{text}{' '}
</a>
)
}
import Link from './ExternalLink'
const About: React.FC = () => {
return (