Files
supabase/apps/studio/components/layouts/StorageLayout/StorageLayout.tsx
T
Joshen Lim acd86da9e5 Chore/refactor storage explorer store part 2 (#35382)
* Shift every logic in storage mobx store to storage valtio store

* Deprecate localStores folder

* REMOVE MOBX ENTIRELYYYYYYY 😄

* Update

* Clean up

* Small improvement for rename folder
2025-05-07 12:25:45 +08:00

21 lines
520 B
TypeScript

import { ReactNode } from 'react'
import { withAuth } from 'hooks/misc/withAuth'
import ProjectLayout from '../ProjectLayout/ProjectLayout'
import StorageMenu from './StorageMenu'
export interface StorageLayoutProps {
title: string
children: ReactNode
}
const StorageLayout = ({ title, children }: StorageLayoutProps) => {
return (
<ProjectLayout title={title || 'Storage'} product="Storage" productMenu={<StorageMenu />}>
{children}
</ProjectLayout>
)
}
export default withAuth(StorageLayout)