[Glitch] Use the new JSX transform everywhere
Port 8f66126b10 to glitch-soc
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import 'packs/public-path';
|
||||
import ready from 'flavours/glitch/ready';
|
||||
import React from 'react';
|
||||
import { createRoot } from 'react-dom/client';
|
||||
|
||||
ready(() => {
|
||||
|
||||
@@ -10,7 +10,6 @@ import { timeAgoString } from 'flavours/glitch/components/relative_timestamp';
|
||||
import { delegate } from '@rails/ujs';
|
||||
import emojify from 'flavours/glitch/features/emoji/emoji';
|
||||
import { getLocale } from 'locales';
|
||||
import React from 'react';
|
||||
import { createRoot } from 'react-dom/client';
|
||||
import { createBrowserHistory } from 'history';
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@ import 'packs/public-path';
|
||||
import { loadPolyfills } from 'flavours/glitch/polyfills';
|
||||
import ready from 'flavours/glitch/ready';
|
||||
import ComposeContainer from 'flavours/glitch/containers/compose_container';
|
||||
import React from 'react';
|
||||
import { createRoot } from 'react-dom/client';
|
||||
|
||||
function loaded() {
|
||||
|
||||
Reference in New Issue
Block a user