fix(components): fix colSpan, hook usage, special theme reset, unused imports, CSS color

This commit is contained in:
plebeius
2026-02-23 18:57:55 +08:00
parent 239f3be199
commit 6c1f535efe
5 changed files with 12 additions and 7 deletions
+1 -1
View File
@@ -335,7 +335,7 @@ const BoardsBarMobile = ({ subplebbitAddress }: { subplebbitAddress?: string })
{boardSelect}
</div>
<div className={styles.pageJump}>
<Link to={useLocation().pathname.replace(/\/$/, '') + '/settings'}>{t('settings')}</Link>
<Link to={location.pathname.replace(/\/$/, '') + '/settings'}>{t('settings')}</Link>
<span onClick={() => setShowSearchBar(!showSearchBar)}>{capitalize(t('search'))}</span>
<Link to='/'>{t('home')}</Link>
{showSearchBar && <SearchBar setShowSearchBar={setShowSearchBar} />}