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

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

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

) } export default StorageBucketsError