Skip to content

Commit 31ec355

Browse files
authored
docs: add missing export on concepts/context (#1196)
1 parent e4d0b5b commit 31ec355

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/concepts/context.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ This function has a `Provider` property that wraps the component tree you want t
2424
```jsx tab title="/context/create.js"
2525
import { createContext } from "solid-js";
2626

27-
const MyContext = createContext();
27+
export const MyContext = createContext();
2828
```
2929

3030
```jsx tab title="/context/component.jsx"

0 commit comments

Comments
 (0)