[Glitch] Use the new JSX transform everywhere

Port 8f66126b10 to glitch-soc
This commit is contained in:
Claire committed 2023-05-28 14:18:43 +02:00
1 parent 9381f78166
commit 6001f5ff36
263 files changed
+403 -502

No files matched your search

-1
View File
@@ -1,6 +1,5 @@
import './public-path';
import ready from '../mastodon/ready';
import React from 'react';
import { createRoot } from 'react-dom/client';
ready(() => {
-1
View File
@@ -14,7 +14,6 @@ import { timeAgoString } from '../mastodon/components/relative_timestamp';
import { delegate } from '@rails/ujs';
import emojify from '../mastodon/features/emoji/emoji';
import { getLocale } from '../mastodon/locales';
import React from 'react';
import { createRoot } from 'react-dom/client';
import { createBrowserHistory } from 'history';
-1
View File
@@ -3,7 +3,6 @@ import { loadPolyfills } from '../mastodon/polyfills';
import { start } from '../mastodon/common';
import ready from '../mastodon/ready';
import ComposeContainer from '../mastodon/containers/compose_container';
import React from 'react';
import { createRoot } from 'react-dom/client';
start();