Skip to content

Commit

Permalink
fix: Export useExperiment hook from index (#50)
Browse files Browse the repository at this point in the history
Make useExperiment hook available as an export from the top level package module.
  • Loading branch information
mjc1283 authored May 20, 2020
1 parent 7c28667 commit de10571
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
export { OptimizelyContext, OptimizelyContextConsumer, OptimizelyContextProvider } from './Context';
export { OptimizelyProvider } from './Provider';
export { OptimizelyFeature } from './Feature';
export { useFeature } from './hooks';
export { useFeature, useExperiment } from './hooks';
export { withOptimizely, WithOptimizelyProps, WithoutOptimizelyProps } from './withOptimizely';
export { OptimizelyExperiment } from './Experiment';
export { OptimizelyVariation } from './Variation';
Expand Down

0 comments on commit de10571

Please sign in to comment.