import { rspc, usePlatform } from '@sd/client'; import { Button } from '@sd/ui'; import { FallbackProps } from 'react-error-boundary'; import { guessOperatingSystem } from './hooks/useOperatingSystem'; export function ErrorFallback({ error, resetErrorBoundary }: FallbackProps) { const platform = usePlatform(); const version = 'unknown'; // TODO: Embed the version into the frontend via ENV var when compiled so we can use it here. return (

APP CRASHED

We're past the event horizon...

Error: {error.message}
); }