File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ const tree = useTree<Item>({
6767
6868## The Drop Event
6969
70- When the user drops tree items onto a target within the tree, the [`onDrop`](/api/core/interface/dragAndDropFeatureConfig #onDrop) event is called
70+ When the user drops tree items onto a target within the tree, the [`onDrop`](/api/core/interface/DragAndDropFeatureConfig #onDrop) event is called
7171with the list of items that were dragged, and a [drop target](/api/core#DropTarget). This drop target is an object that contains
7272either
7373
Original file line number Diff line number Diff line change @@ -17,9 +17,9 @@ export type DemoBoxProps = {
1717} ;
1818
1919const storybookRoot =
20- window . location . hostname === "localhost "
21- ? "http ://localhost:6006 "
22- : "https ://headless-tree.lukasbach.com/storybook/react " ;
20+ process . env . NODE_ENV === "production "
21+ ? "https ://headless-tree.lukasbach.com/storybook/react "
22+ : "http ://localhost:6006 " ;
2323
2424export const DemoBox : FC < DemoBoxProps > = ( {
2525 stories,
You can’t perform that action at this time.
0 commit comments