feat: 侧边栏底部集成用户菜单
This commit is contained in:
parent
71aa09ebd7
commit
8074a94fed
@ -18,6 +18,7 @@ import { useAppStore } from '../../stores/appStore'
|
||||
import { TrashView } from './TrashView'
|
||||
import { formatDate } from '../../lib/utils'
|
||||
import type { Folder as FolderType, Note } from '../../db'
|
||||
import { UserMenu } from '../auth/UserMenu'
|
||||
|
||||
export function Sidebar() {
|
||||
const {
|
||||
@ -421,6 +422,9 @@ export function Sidebar() {
|
||||
onChange={handleImportFile}
|
||||
/>
|
||||
</div>
|
||||
<div className="px-3 py-2 shrink-0" style={{ borderTop: '1px solid var(--border)' }}>
|
||||
<UserMenu />
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
<AnimatePresence>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user