docs: fix typo on islands page (#2580)

Typo with islands page
This commit is contained in:
Drew Hoffer
2024-07-08 08:52:17 +02:00
committed by GitHub
parent 0f83c8b998
commit 9e8be46f79
+2 -2
View File
@@ -179,8 +179,8 @@ export default function MyIsland({ children, foo }: Props) {
``` ```
In essence, Fresh allows you to mix static and interactive parts in your app in In essence, Fresh allows you to mix static and interactive parts in your app in
a way that's most optimal for your use app. We'll keep sending only the a way that's most optimal for your app. We'll keep sending only the JavaScript
JavaScript that is needed for the islands to the browser. that is needed for the islands to the browser.
```tsx route/index.tsx ```tsx route/index.tsx
import MyIsland from "../islands/my-island.tsx"; import MyIsland from "../islands/my-island.tsx";