Get electron building something at all

This commit is contained in:
49lf
2024-07-23 10:39:35 -04:00
committed by Kurt Hutten Irev-Dev
parent 712a3790e8
commit 6ba050727a
150 changed files with 5388 additions and 5083 deletions

View File

@ -1,4 +1,5 @@
import { ActionIcon, ActionIconProps } from './ActionIcon'
import { openExternalBrowserIfDesktop } from 'lib/openWindow'
import React, { ForwardedRef, forwardRef } from 'react'
import { PATHS } from 'lib/paths'
import { Link } from 'react-router-dom'
@ -107,6 +108,7 @@ export const ActionButton = forwardRef((props: ActionButtonProps, ref) => {
ref={ref as ForwardedRef<HTMLAnchorElement>}
to={to || PATHS.INDEX}
className={classNames}
onClick={openExternalBrowserIfDesktop(to as string)}
{...rest}
target="_blank"
>