export function DangerNotification ({ errors }: { errors: String[] }): JSX.Element { return (
{errors && errors.map((error, index) => (

Error:{error}

))}
); }