summaryrefslogtreecommitdiff
path: root/frontend/app/drive/page.tsx
blob: 70bc9430aa2787aa703f734ab65b25e9b210bab9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import { DriveDirectoryView } from "@/components/drive/DriveDirectoryView"
import { Drive_ls } from "@/lib/drive_server"
import { fetchStorageData } from "@/lib/storage"

export default async function DriveRootPage() {
  const [files, storageData] = await Promise.all([
    Drive_ls("/", false),
    fetchStorageData()
  ])
  
  return <DriveDirectoryView path="/" files={files} storageData={storageData} />
}