Emoji Rendering Efficiency (#35568)
This commit is contained in:
23 files changed
+950
-329
No files matched your search
@@ -2,10 +2,10 @@ import { createRoot } from 'react-dom/client';
|
||||
|
||||
import { Globals } from '@react-spring/web';
|
||||
|
||||
import * as perf from '@/mastodon/utils/performance';
|
||||
import { setupBrowserNotifications } from 'mastodon/actions/notifications';
|
||||
import Mastodon from 'mastodon/containers/mastodon';
|
||||
import { me, reduceMotion } from 'mastodon/initial_state';
|
||||
import * as perf from 'mastodon/performance';
|
||||
import ready from 'mastodon/ready';
|
||||
import { store } from 'mastodon/store';
|
||||
|
||||
@@ -35,7 +35,7 @@ function main() {
|
||||
|
||||
if (isModernEmojiEnabled()) {
|
||||
const { initializeEmoji } = await import('@/mastodon/features/emoji');
|
||||
await initializeEmoji();
|
||||
initializeEmoji();
|
||||
}
|
||||
|
||||
const root = createRoot(mountNode);
|
||||
|
||||
Reference in new issue
Block a user