From 68537902fb535b79e9c6f057f8af7a0eac7e9a45 Mon Sep 17 00:00:00 2001 From: Evan Hahn <69474926+EvanHahn-Signal@users.noreply.github.com> Date: Tue, 15 Feb 2022 16:32:10 -0600 Subject: [PATCH] Fix Moment locales failing to load --- preload.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/preload.js b/preload.js index 14434fd0126..d82fc398aab 100644 --- a/preload.js +++ b/preload.js @@ -415,7 +415,10 @@ try { window.React = require('react'); window.ReactDOM = require('react-dom'); + window.moment = require('moment'); + require('moment/min/locales.min'); + window.PQueue = require('p-queue').default; const Signal = require('./js/modules/signal');