diff --git a/docs/concepts/islands.md b/docs/concepts/islands.md index 39f4f08c..93507662 100644 --- a/docs/concepts/islands.md +++ b/docs/concepts/islands.md @@ -14,7 +14,7 @@ island. The file must have a default export that is a regular Preact component. ```tsx // islands/MyIsland.tsx -import type { Signal } from "@preact/signals"; +import { useSignal } from "@preact/signals"; export default function MyIsland() { const count = useSignal(0);