import React from 'react'; import { Link } from 'react-router-dom'; interface ErrorStateProps { error: string; presentationId?: string; } export const ErrorState: React.FC = ({ error, presentationId }) => { return (
{presentationId ? ( ← Back to Presentation ) : ( ← Back to Presentations )}

Slide Editor Error

Unable to Load Slide Editor

{error}

{presentationId ? ( Return to Presentation ) : ( Back to Presentations )}
); };