import Link from 'next/link' import { IS_PLATFORM, useParams } from 'common' import { Menu } from 'ui' import { BUCKET_TYPES, BUCKET_TYPE_KEYS } from './Storage.constants' import { useStorageV2Page } from './Storage.utils' export const StorageMenuV2 = () => { const { ref } = useParams() const page = useStorageV2Page() return (
Manage} /> {BUCKET_TYPE_KEYS.map((bucketTypeKey) => { const isSelected = page === bucketTypeKey const config = BUCKET_TYPES[bucketTypeKey] return (

{config.displayName}

) })}
{IS_PLATFORM && ( <>
Configuration} />

S3

)}
) }