You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Remove unnecessary withOptimizely usage from Experiment and Feature components, and fix timeout log message (#42)
Summary:
Experiment and Feature were refactored to use hooks internally. Now, they access the context set by OptimizelyProvider via useContext, so there's no need to use withOptimizely on them.
In this PR I removed withOptimizely from those components, and fixed a log message related to timeout so that it shows the correct timeout when a component timeout prop was used.
Test Plan:
Manually tested, existing unit tests pass
0 commit comments