mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-15 00:04:59 +08:00
d4caa1585b
React 18's strict mode intentionally mounts all components twice, which was causing Olm to get double-loaded. Also, it doesn't need to be loaded if the app is running as a widget.
2 lines
54 B
TypeScript
2 lines
54 B
TypeScript
module.exports = { loadOlm: jest.fn(async () => {}) }
|