Skip to content

Commit

Permalink
feat: add useSite hook
Browse files Browse the repository at this point in the history
This extra commit is needed, because 506f7b1 was not prefixed with feat.
  • Loading branch information
bartlangelaan committed Nov 19, 2019
1 parent e05ffd1 commit 00a8e19
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/hn-react/src/context/site.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { Site } from 'hn';
import * as React from 'react';
import globalSite from '../utils/site';

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

Expand Down

0 comments on commit 00a8e19

Please sign in to comment.