import { SupportCategories } from '@supabase/shared-types/out/constants' import { useParams } from 'common' import { Button } from 'ui' import { Admonition } from 'ui-patterns/admonition' import { SupportLink } from '../Support/SupportLink' import type { ResponseError } from '@/types' export interface StorageBucketsErrorProps { error: ResponseError } const StorageBucketsError = ({ error }: StorageBucketsErrorProps) => { const { ref } = useParams() return (

Please try refreshing your browser, or contact support if the issue persists

Error: {(error as any)?.message ?? 'Unknown'}

} actions={ } />
) } export default StorageBucketsError