[Glitch] Use the new JSX transform everywhere
Port 8f66126b10 to glitch-soc
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import './public-path';
|
||||
import ready from '../mastodon/ready';
|
||||
import React from 'react';
|
||||
import { createRoot } from 'react-dom/client';
|
||||
|
||||
ready(() => {
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user