diff --git a/src/main.jsx b/src/main.jsx index 0329a992..19a84c69 100644 --- a/src/main.jsx +++ b/src/main.jsx @@ -4,16 +4,12 @@ import './cloak-mode.css'; // Polyfill needed for Firefox < 122 // https://bugzilla.mozilla.org/show_bug.cgi?id=1423593 -import { shouldPolyfill } from '@formatjs/intl-segmenter/should-polyfill'; +import '@formatjs/intl-segmenter/polyfill'; import { render } from 'preact'; import { HashRouter } from 'react-router-dom'; import { App } from './app'; -if (shouldPolyfill()) { - import('@formatjs/intl-segmenter/polyfill-force'); -} - if (import.meta.env.DEV) { import('preact/debug'); }