Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

feat(base/redux): fixed local storage on native

Calin-Teodor703ed731c82e
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 43c3c7514a..12e47e0d17 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -141,7 +141,7 @@ react/features/sample/
```
The middleware must be imported in `react/features/app/` specifically
-in `middlewares.any`, `middlewares.native.js` or `middlewares.web.js` where appropriate.
+in `middlewares.any.ts`, `middlewares.native.ts` or `middlewares.web.ts` where appropriate.
Likewise for the reducer.
An `index.js` file must not be provided for exporting actions, action types and
diff --git a/react/features/app/middlewares.any.js b/react/features/app/middlewares.any.ts
similarity index 98%
rename from react/features/app/middlewares.any.js
rename to react/features/app/middlewares.any.ts
index b9bea56cd7..3c866b2af8 100644
--- a/react/features/app/middlewares.any.js
+++ b/react/features/app/middlewares.any.ts
@@ -11,6 +11,7 @@ import '../base/media/middleware';
import '../base/net-info/middleware';
import '../base/participants/middleware';
import '../base/responsive-ui/middleware';
+import '../base/redux/middleware';
import '../base/settings/middleware';
import '../base/sounds/middleware';
import '../base/testing/middleware';
diff --git a/react/features/app/middlewares.native.js b/react/features/app/middlewares.native.ts
similarity index 100%
rename from react/features/app/middlewares.native.js
rename to react/features/app/middlewares.native.ts
diff --git a/react/features/app/middlewares.web.js b/react/features/app/middlewares.web.ts
similarity index 96%
rename from react/features/app/middlewares.web.js
rename to react/features/app/middlewares.web.ts
index 2bd435c92c..7842b6f9e5 100644
--- a/react/features/app/middlewares.web.js
+++ b/react/features/app/middlewares.web.ts
@@ -2,7 +2,6 @@ import '../authentication/middleware';
import '../base/i18n/middleware';
import '../base/devices/middleware';
import '../base/media/middleware';
-import '../base/redux/middleware';
import '../dynamic-branding/middleware';
import '../e2ee/middleware';
import '../external-api/middleware';
diff --git a/react/features/app/reducers.any.js b/react/features/app/reducers.any.ts
similarity index 100%
rename from react/features/app/reducers.any.js
rename to react/features/app/reducers.any.ts
diff --git a/react/features/app/reducers.native.js b/react/features/app/reducers.native.ts
similarity index 100%
rename from react/features/app/reducers.native.js
rename to react/features/app/reducers.native.ts
diff --git a/react/features/app/reducers.web.js b/react/features/app/reducers.web.ts
similarity index 100%
rename from react/features/app/reducers.web.js
rename to react/features/app/reducers.web.ts
diff --git a/react/features/base/redux/middleware.web.ts b/react/features/base/redux/middleware.ts
similarity index 100%
rename from react/features/base/redux/middleware.web.ts
rename to react/features/base/redux/middleware.ts