Add active state for Upload button
This commit is contained in:
parent
a98f09e44c
commit
43255fa40f
|
@ -7,7 +7,7 @@
|
|||
<meta name="theme-color" content="#222629" />
|
||||
<link rel="apple-touch-icon" href="%PUBLIC_URL%/icons/icon.png" />
|
||||
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
||||
<link rel="preconnect" href="https://apis.google.com">
|
||||
<link rel="preconnect" href="https://apis.google.com" crossorigin>
|
||||
<meta property="og:title" content="SpeedyTuner Cloud">
|
||||
<meta name="twitter:image:alt" content="SpeedyTuner Cloud">
|
||||
<meta name="description" content="Share your Speeduino tune and logs" />
|
||||
|
|
|
@ -140,7 +140,7 @@ const TopBar = () => {
|
|||
<Button disabled icon={<SearchOutlined />} ref={searchInput} />
|
||||
</Tooltip>
|
||||
<Link to={Routes.UPLOAD}>
|
||||
<Button icon={<CloudUploadOutlined />}>
|
||||
<Button icon={<CloudUploadOutlined />} type={matchedTabPath?.url === Routes.UPLOAD ? 'primary' : 'default' }>
|
||||
{lg && 'Upload'}
|
||||
</Button>
|
||||
</Link>
|
||||
|
|
Loading…
Reference in New Issue