[Appearance] Move homepages to top + i18n

per feedback
This commit is contained in:
infinite-persistence 2021-08-22 11:18:21 +08:00
parent 17871e78c8
commit 70f795ac8b
No known key found for this signature in database
GPG key ID: B9C3252EDC3D0AA0

View file

@ -16,17 +16,17 @@ export default function SettingAppearance(props: Props) {
isBodyList isBodyList
body={ body={
<> <>
{/* --- Language --- */}
<div className="card__main-actions">
<SettingLanguage />
</div>
{/* --- Homepage --- */} {/* --- Homepage --- */}
{homepages && Object.keys(homepages).length > 1 && ( {homepages && Object.keys(homepages).length > 1 && (
<div className="card__main-actions"> <div className="card__main-actions">
<HomepageSelector /> <HomepageSelector />
</div> </div>
)} )}
{/* --- Language --- */}
<div className="card__main-actions">
<SettingLanguage />
</div>
</> </>
} }
/> />