Skip to content

Commit 00a8e19

Browse files
committed
feat: add useSite hook
This extra commit is needed, because 506f7b1 was not prefixed with feat.
1 parent e05ffd1 commit 00a8e19

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/hn-react/src/context/site.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { Site } from 'hn';
22
import * as React from 'react';
33
import globalSite from '../utils/site';
44

5-
// Create a new context.
65
const HnContext = React.createContext(globalSite);
76
const { Consumer, Provider } = HnContext;
87

0 commit comments

Comments
 (0)