Dont use CommonJS (require
, module.exports
) anywhere (#24913)
This commit is contained in:
@ -5,8 +5,7 @@ import Mastodon from 'mastodon/containers/mastodon';
|
||||
import { store } from 'mastodon/store/configureStore';
|
||||
import { me } from 'mastodon/initial_state';
|
||||
import ready from 'mastodon/ready';
|
||||
|
||||
const perf = require('mastodon/performance');
|
||||
import * as perf from 'mastodon/performance';
|
||||
|
||||
/**
|
||||
* @returns {Promise<void>}
|
||||
|
Reference in New Issue
Block a user