mirror of
https://github.com/get-drexa/drive.git
synced 2025-11-30 21:41:39 +00:00
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:
@@ -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"
|
||||||
|
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user