Skip to content

Commit 7dad41c

Browse files
authored
fix import of createContext in context.md (#1279)
1 parent 9587499 commit 7dad41c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/lit-dev-content/site/docs/v2/data/context.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ Creates a typed Context object
335335
**Import**:
336336

337337
```ts
338-
import {property} from '@lit-labs/context';
338+
import {createContext} from '@lit-labs/context';
339339
```
340340

341341
**Signature**:

packages/lit-dev-content/site/docs/v3/data/context.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ Creates a typed Context object
333333
**Import**:
334334

335335
```ts
336-
import {property} from '@lit/context';
336+
import {createContext} from '@lit/context';
337337
```
338338

339339
**Signature**:

0 commit comments

Comments
 (0)