mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-04 23:24:21 +00:00
chore(deps): upgrade bun to 1.4.4 and migrate to bun fmt (#488)
- Upgrade Bun to 1.4.4 across Dockerfiles, CI workflows, and release configurations. - Update @types/bun and bun-types. - Remove eslint-plugin-prettier and update format script to use native bun fmt. - Configure .prettierignore to exclude packages/webui/public and minified files.
This commit is contained in:
@@ -62,8 +62,7 @@ function TeamPage() {
|
||||
const { metadata, setMetadata: setUserMetadata } = useUserMetadataStore()
|
||||
const sortKey = `team:${teamId}:projects:sort`
|
||||
const savedSort = metadata[sortKey] as
|
||||
| { sortBy?: string; sortDirection?: 'asc' | 'desc' }
|
||||
| undefined
|
||||
{ sortBy?: string; sortDirection?: 'asc' | 'desc' } | undefined
|
||||
|
||||
const [sortBy, setSortBy] = useState<string>(() => savedSort?.sortBy || 'name')
|
||||
const [sortDirection, setSortDirection] = useState<'asc' | 'desc'>(
|
||||
|
||||
Reference in New Issue
Block a user