Skip to content

Commit b39a55d

Browse files
authored
fix: use home icon instead of download (#917)
Use a more obvious icon. Fixes #916
1 parent 47271a2 commit b39a55d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ui/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react'
22
import ReactDOMClient from 'react-dom/client'
33
import './index.css'
4-
import { FaInfoCircle, FaCog, FaGithub, FaDownload, FaExclamationTriangle, FaExclamationCircle } from 'react-icons/fa'
4+
import { FaInfoCircle, FaCog, FaGithub, FaExclamationTriangle, FaExclamationCircle, FaHome } from 'react-icons/fa'
55
import { HashRouter, Route, Routes, NavLink } from 'react-router-dom'
66
import { Config } from '../lib/config-db.js'
77
import { HASH_FRAGMENTS } from '../lib/constants.js'
@@ -80,7 +80,7 @@ function Header (): React.ReactElement {
8080
<h1 className='e2e-header-title f3 fw2 ttu sans-serif'>Service Worker Gateway</h1>
8181
{errorPageLink}
8282
<NavLink to={`/${HASH_FRAGMENTS.IPFS_SW_LOAD_UI}`} className={({ isActive }) => (isActive || (errorPageLink == null && globalThis.location.hash === '')) ? 'white' : ''}>
83-
<FaDownload className='ml2 f3' />
83+
<FaHome className='ml2 f3' />
8484
</NavLink>
8585
<NavLink to={`/${HASH_FRAGMENTS.IPFS_SW_ABOUT_UI}`} className={({ isActive }) => isActive ? 'white' : ''}>
8686
<FaInfoCircle className='ml2 f3' />

0 commit comments

Comments
 (0)