import React from 'react' import type { FetchErrorEvent } from '../../../providers/events/State' import { Text, Title } from '../../shared' import { CallList } from './components/CallList' interface Props { event: FetchErrorEvent } export function FetchErrorPreview({ event }: Props) { return ( <> An error happened when trying to update the state. This might happen because one of the requested calls reverted. Error message: {event.error} Calls: ) }