import React from 'react'

export default function ErrorDialog({ error }: { error: string | Error }) {
    return (
        <div>{error instanceof Error ? error.message : error }</div>
    )
}
