|
|
@@ -0,0 +1,31 @@
|
|
|
+import { Container } from 'unstated';
|
|
|
+
|
|
|
+import loggerFactory from '@alias/logger';
|
|
|
+
|
|
|
+// eslint-disable-next-line no-unused-vars
|
|
|
+const logger = loggerFactory('growi:services:UserGroupDetailContainer');
|
|
|
+
|
|
|
+/**
|
|
|
+ * Service container for admin user group detail page (UserGroupDetailPage.jsx)
|
|
|
+ * @extends {Container} unstated Container
|
|
|
+ */
|
|
|
+export default class UsersContainer extends Container {
|
|
|
+
|
|
|
+ constructor(appContainer) {
|
|
|
+ super();
|
|
|
+
|
|
|
+ this.appContainer = appContainer;
|
|
|
+
|
|
|
+ this.state = {
|
|
|
+ hoge: 'huga',
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Workaround for the mangling in production build to break constructor.name
|
|
|
+ */
|
|
|
+ static getClassName() {
|
|
|
+ return 'UsersContainer';
|
|
|
+ }
|
|
|
+
|
|
|
+}
|