Skip to content

Commit

Permalink
docs(storybook): add version selector - review
Browse files Browse the repository at this point in the history
Signed-off-by: Francois Eoche <[email protected]>
  • Loading branch information
Francois Eoche authored and dpellier committed Aug 16, 2023
1 parent 3f11375 commit 028b0ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 1 addition & 4 deletions packages/tools/storybook/.storybook/manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ document.addEventListener('DOMContentLoaded', function() {
element = version;
}
selector.parentNode.insertBefore(element, selector.nextSibling);

observer.disconnect();
}
break;
}
Expand All @@ -46,9 +46,6 @@ document.addEventListener('DOMContentLoaded', function() {
observer.observe(document.body, { childList: true, subtree: false });
}, false);




addons.setConfig({
theme,
sidebar: {
Expand Down
1 change: 1 addition & 0 deletions packages/tools/storybook/public/releases.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const releases = {}

0 comments on commit 028b0ee

Please sign in to comment.