diff --git a/docs/developing/islands/en.md b/docs/developing/islands/en.md index b9247312..194e3817 100644 --- a/docs/developing/islands/en.md +++ b/docs/developing/islands/en.md @@ -91,23 +91,23 @@ Within a component, if the state is only used locally, you can use the `useSignal` hook to create these elements that can be used in the function body or in the JSX returned, as in the example below. -````tsx +```tsx import { useSignal } from "@preact/signals"; export default function Counter() { - const count = useSignal(0) + const count = useSignal(0); return (