Skip to content

Commit d7383d2

Browse files
committed
fix: remove non-existent SSEEventType import from Linux Desktop guide
The page.tsx code example imported SSEEventType from @/types, but this type was never defined in the types/index.ts file and wasn't used in the component. This caused TypeScript compilation errors when following the guide.
1 parent 16430b3 commit d7383d2

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

docs/use-cases/linux-desktop.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ This guide is a demo version of [E2B Surf](https://github.com/e2b-dev/surf), an
2929
</Card>
3030
</CardGroup>
3131

32-
<Note>
33-
Full source code available on [GitHub](https://github.com/e2b-dev/surf).
34-
</Note>
32+
Full source code is available in the [E2B Surf repository](https://github.com/e2b-dev/surf).
3533

3634
## Project Structure
3735

@@ -730,7 +728,7 @@ Create `app/page.tsx` with a chat interface, real-time status tracking, VNC view
730728
import { useState, useRef, useEffect, useCallback } from 'react';
731729
import { extendSandboxTimeout, stopSandbox } from './actions';
732730
import { SANDBOX_CONFIG } from '@/lib/constants';
733-
import type { ChatMessage, ConversationTurn, SSEEventType } from '@/types';
731+
import type { ChatMessage, ConversationTurn } from '@/types';
734732

735733
export default function Home() {
736734
const [messages, setMessages] = useState<ChatMessage[]>([]);

0 commit comments

Comments
 (0)