import { Button } from "~/components"; interface Props { onCancel: () => void; onRetry: () => void; isAssetError: boolean; } export const UploadAssetError = ({ onCancel, onRetry, isAssetError, }: Props) => { return ( <> {isAssetError ? "There was a problem uploading your object." : "There was a problem creating art for your object"}