style: format imports and code style

- Consolidate multi-line imports
- Apply consistent formatting

Co-authored-by: Ona <no-reply@ona.com>
This commit is contained in:
2025-11-08 18:03:21 +00:00
parent b8c46217f7
commit 4ebb3fe620
3 changed files with 5 additions and 11 deletions

View File

@@ -1,8 +1,5 @@
import type { Id } from "@fileone/convex/dataModel" import type { Id } from "@fileone/convex/dataModel"
import type { import type { DirectoryItem, DirectoryItemKind } from "@fileone/convex/types"
DirectoryItem,
DirectoryItemKind,
} from "@fileone/convex/types"
import type { RowSelectionState } from "@tanstack/react-table" import type { RowSelectionState } from "@tanstack/react-table"
import { atom } from "jotai" import { atom } from "jotai"

View File

@@ -53,12 +53,9 @@ export const clearFileUploadStatusesAtom = atom(
}, },
) )
export const clearAllFileUploadStatusesAtom = atom( export const clearAllFileUploadStatusesAtom = atom(null, (get, set) => {
null,
(get, set) => {
set(fileUploadStatusesAtom, {}) set(fileUploadStatusesAtom, {})
}, })
)
export const fileUploadCountAtom = atom( export const fileUploadCountAtom = atom(
(get) => Object.keys(get(fileUploadStatusesAtom)).length, (get) => Object.keys(get(fileUploadStatusesAtom)).length,