Skip to content

Commit

Permalink
fix: version
Browse files Browse the repository at this point in the history
  • Loading branch information
lulu-tro committed May 31, 2024
1 parent 620c859 commit 2acf836
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/components/Modals/EncryptFileModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ export default function EncryptFileModal({ color }) {
value={encryptType}>
{options.map(v => {
return (
<Radio value={v.value}>
<Radio value={v.value} key={v.value}>
<div className=" w-full font-semibold mb-3">
<p>{t(`${v.label}`)}</p>
</div>
Expand Down Expand Up @@ -257,7 +257,7 @@ export default function EncryptFileModal({ color }) {
<Radio.Group onChange={hostChange} value={isCurHost}>
{hostOptions.map(v => {
return (
<Radio value={v.value}>
<Radio value={v.value} key={v.label}>
<div className=" w-full mb-3">
<p className='font-semibold '>{t(`${v.label}`)}</p>
<span className="text-xs font-medium theme-text-sub-info">
Expand Down
8 changes: 4 additions & 4 deletions src/components/Sidebar/Sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export default function Sidebar() {
<div className="flex flex-col justify-end">
<div>
<span className="theme-text-main">BTFS Dashboard</span>
<span className="theme-text-base"> 2.0</span>
<span className="theme-text-base"> 3.0</span>
</div>
<img
className="inline-block"
Expand All @@ -120,7 +120,7 @@ export default function Sidebar() {
</div> :
<>
<span className="theme-text-main">BTFS Dashboard</span>
<span className="theme-text-base"> 2.0</span>
<span className="theme-text-base"> 3.0</span>
</>
}

Expand Down Expand Up @@ -154,7 +154,7 @@ export default function Sidebar() {
'theme-sidebar-link md:block text-left md:pb-2 mr-0 inline-block whitespace-nowrap text-sm uppercase font-bold p-4 px-0'
}
to="/">
BTFS 2.3.5
BTFS 3.0.0
</Link>
</div>
<div className="w-4/12 flex flex-row-reverse">
Expand Down Expand Up @@ -185,7 +185,7 @@ export default function Sidebar() {
{/* Navigation */}
<ul className="md:flex-col md:min-w-full flex flex-col list-none mb-4">
<li className="items-center">
<a className={'sidebar-link theme-sidebar-link'}>{t('version')} 2.3.5</a>
<a className={'sidebar-link theme-sidebar-link'}>{t('version')} 3.0.0</a>
</li>

<li className="items-center">
Expand Down

0 comments on commit 2acf836

Please sign in to comment.