Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
always enable the addon
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbf committed May 31, 2023
1 parent a7dd5e3 commit d133007
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/manager.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ const isDevMode = process.env.NODE_ENV !== "production";
// 1. In dev mode
// 2. The onboarding query parameter is present
// 3. The example button stories are present
if (isDevMode) {
// TODO: Fix this once we are ready. For now it makes it easier to test
if (true && isDevMode) {
addons.register("@storybook/addon-onboarding", async (api) => {
const isOnboarding = api.getUrlState().queryParams.onboarding;

Expand Down

0 comments on commit d133007

Please sign in to comment.