diff options
| author | Matain <[email protected]> | 2022-12-01 20:08:18 +0800 |
|---|---|---|
| committer | Matain <[email protected]> | 2022-12-01 20:08:18 +0800 |
| commit | fe89a49798a83c9fcefd1b59b3f7b82c94d06069 (patch) | |
| tree | 460511dfb283273464ff7bf3219dc1f035ed3a88 /src/components | |
| parent | 8c16eeed5ee6f1b4926b103bda274f7eb385cd70 (diff) | |
try to fix tfo icon
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/proxies/Proxy.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/proxies/Proxy.tsx b/src/components/proxies/Proxy.tsx index c9fc85e..470f996 100644 --- a/src/components/proxies/Proxy.tsx +++ b/src/components/proxies/Proxy.tsx @@ -159,7 +159,7 @@ function ProxyImpl({ } function formatTfo (t: boolean) { if (!t) return ''; - return <img className={s0.tfoType} src="../../assets/tfo.svg" alt="" />; + return <img className={s0.tfoType} src="../../public/tfo.svg" alt="" />; } const handleKeyDown = React.useCallback( (e: React.KeyboardEvent) => { @@ -189,8 +189,8 @@ function ProxyImpl({ <ProxyNameTooltip label={name} aria-label={'proxy name: ' + name}> <span>{name}</span> </ProxyNameTooltip> - <span className={s0.proxyType} style={{ opacity: now ? 0.6 : 0.2 }}>{formatUdpType(proxy.udp)}</span> - {formatTfo(proxy.tfo)} + <span className={s0.proxyType} style={{ opacity: now ? 0.6 : 0.2 }}>{formatUdpType(proxy.udp)}{formatTfo(proxy.tfo)}</span> + </div> <div className={s0.row}> <span className={s0.proxyType} style={{ opacity: now ? 0.6 : 0.2 }}> |
