aboutsummaryrefslogtreecommitdiffstats
path: root/client/src/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/index.js')
-rw-r--r--client/src/index.js11
1 files changed, 10 insertions, 1 deletions
diff --git a/client/src/index.js b/client/src/index.js
index 4a26f66..d6ac076 100644
--- a/client/src/index.js
+++ b/client/src/index.js
@@ -3,6 +3,7 @@ import 'core-js/stable';
import 'regenerator-runtime/runtime';
import { h, Fragment, Component, render } from 'preact';
import { GraphContainer } from './graph';
+import { GroupContainer } from './groups';
//import { Menu, Discussion, Selection } from './ui';
import { Menu } from './ui/Menu';
import { Discussion } from './ui2';
@@ -123,7 +124,15 @@ if (search.has('document') || search.has('note') || search.has('graph')) {
);
}
- return <Discussion name={name} items={items} first={first} />;
+ return (
+ <GroupContainer
+ items={items}
+ first={first}
+ render={(props) => (
+ <Discussion name={name} {...props} />
+ )}
+ />
+ );
/*
return (
<SelectionContainer render={({ selection, toggleSelected }) => (