|
@@ -0,0 +1,12 @@
|
|
1
|
+import { MiddlewareRegistry } from '../base/redux';
|
|
2
|
+
|
|
3
|
+/**
|
|
4
|
+ * Middleware which intercepts actions and updates the legacy component
|
|
5
|
+ * {@code VideoLayout} as needed. The purpose of this middleware is to redux-ify
|
|
6
|
+ * {@code VideoLayout} without having to simultaneously react-ifying it.
|
|
7
|
+ *
|
|
8
|
+ * @param {Store} store - The redux store.
|
|
9
|
+ * @returns {Function}
|
|
10
|
+ */
|
|
11
|
+// eslint-disable-next-line no-unused-vars
|
|
12
|
+MiddlewareRegistry.register(store => next => action => next(action));
|